I seem to be having trouble providing the installed_paths configurable. It seems to sabotage phpcs.
Show installed standards:
$ sudo /usr/bin/phpcs -i
The installed coding standards are PSR2, PHPCS, PEAR, PSR1, Squiz, MySource, Zend, CakePHP, PSR2, PHPCS, PEAR, PSR1, Squiz, MySource, Zend and CakePHP
Show default installed_paths value:
$ sudo /usr/bin/phpcs --config-show
Array
(
[installed_paths] => /usr/share/php/PHP/CodeSniffer/Standards
)
If I pass the default installed_paths value explicitly in with --config-set, it no longer shows any installed standards:
$ sudo /usr/bin/phpcs --config-set installed_paths /usr/share/php/PHP/CodeSniffer/Standards -i
$
I have the latest stable version of PHP_CodeSniffer (1.5.4), and it looks like they added this in 1.5.1. Has anyone had success?