I've installed PHPCS via pear, and all the instructions say that if everything goes right running PHPCS -i should return something. But they never say what to do when it doesn't work. This was working a few months ago, and now does not.
jlesc@CATODCSWKSTN1 C:\MAMP\bin\php\php7.0.0
$ pear install PHP_CodeSniffer
downloading PHP_CodeSniffer-2.9.1.tgz ...
Starting to download PHP_CodeSniffer-2.9.1.tgz (526,111 bytes)
.........................................................................................................done: 526,111 bytes
install ok: channel://pear.php.net/PHP_CodeSniffer-2.9.1
jlesc@CATODCSWKSTN1 C:\MAMP\bin\php\php7.0.0
$ phpcs -i
jlesc@CATODCSWKSTN1 C:\MAMP\bin\php\php7.0.0
$
Stumped at what the issue is?
When I uninstall it removes the command as expected.
jlesc@CATODCSWKSTN1 C:\MAMP\htdocs
$ pear uninstall php_codesniffer
uninstall ok: channel://pear.php.net/PHP_CodeSniffer-2.9.1
jlesc@CATODCSWKSTN1 C:\MAMP\htdocs
$ phpcs
'phpcs' is not recognized as an internal or external command,
operable program or batch file.
So what would make the command recognized, but produce no output?