- I would reverse the order of parameters. The files should be at the end of the param list, multiple files should be allowed.
- There should be an option to list all available coding standards
- Abilitity to set a default CS is needed
- Show the line in which the errors occured (if enabled by parameter)

cweiske:/data/php-gtk/two/Dev_Inspector> /data/cvs/php/php5install/bin/phpcs . --standard=PEAR
PHP Warning: substr_compare(): The start position cannot exceed initial string length in /data/cvs/php/php5cli/share/pear/PHP/CodeSniffer.php on line 799
PHP Strict Standards: Assigning the return value of new by reference is deprecated in /data/cvs/php/php5cli/share/pear/MIME/Type.php on line 102
PHP Strict Standards: Assigning the return value of new by reference is deprecated in /data/cvs/php/php5cli/share/pear/MIME/Type.php on line 298
PHP Strict Standards: Assigning the return value of new by reference is deprecated in /data/cvs/php/php5cli/share/pear/PEAR.php on line 563
PHP Strict Standards: Assigning the return value of new by reference is deprecated in /data/cvs/php/php5cli/share/pear/PEAR.php on line 566
PHP Strict Standards: Non-static method PEAR::getStaticProperty() should not be called statically, assuming $this from incompatible context in /data/cvs/php/php5cli/share/pear/MIME/Type.php on line 23

Haven't tried it yet, but this is defenatly a good idea. I don't know if it should just be implemented at the C level (php-ext) but this is great (if it works fine). I mean, that'll be something beautiful! Good idea, looking forward to test.

New version 0.0.4 fixes error submitted by Laurent Laville (ERROR: Public method name PHP_CompatInfo::_tokenize is invalid) and a few others. More testing has been done on existing PEAR code so it should perform better.