PHP_CodeSnifferインストール
インストール
$ pear install PHP_CodeSniffer downloading PHP_CodeSniffer-1.2.2.tgz ... Starting to download PHP_CodeSniffer-1.2.2.tgz (311,533 bytes) .................................................................done: 311,533 bytes install ok: channel://pear.php.net/PHP_CodeSniffer-1.2.2
確認
$ phpcs --version PHP_CodeSniffer version 1.2.2 (stable) by Squiz Pty Ltd. (http://www.squiz.net)
参考