掲題の通り。メモ書き。ちなみに環境はCentOS6.4。 まずは、PHP_CodeSnifferをインストール。 [root@localhost hogehoge]# pear install PHP_CodeSniffer WARNING: channel "pear.php.net" has updated its protocols, use "pear channel-update pear.php.net" to update Unknown remote channel: pear.phpunit.de Did not download optional dependencies: channel://pear.phpunit.de/PHP_Timer, use --alldeps to download automatically pear/PHP_CodeSniffer c