Created
July 23, 2013 12:27
-
-
Save ynaoto/6061998 to your computer and use it in GitHub Desktop.
Install PEAR, PHP_CodeSniffer and PHPCompatibility on Max OS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo php /usr/lib/php/install-pear-nozlib.phar | |
| sudo pear install PHP_CodeSniffer | |
| cd /usr/lib/php/pear/PHP/CodeSniffer/Standards | |
| sudo mv ~/git/PHPCompatibility . | |
| sudo cp php.ini.default php.ini | |
| sudo vi php.ini # add /usr/lib/php/pear to include_path | |
| phpcs --standard=PHPCompatibility a.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment