Skip to content

Instantly share code, notes, and snippets.

@toolpixx
Forked from dajoho/phpcs
Last active August 29, 2015 14:13
Show Gist options
  • Save toolpixx/053e26f0d9ae218814e9 to your computer and use it in GitHub Desktop.
Save toolpixx/053e26f0d9ae218814e9 to your computer and use it in GitHub Desktop.
sudo cp /private/etc/php.ini.default /private/etc/php.ini;
sudo php /usr/lib/php/install-pear-nozlib.phar;
pear config-set php_ini /private/etc/php.ini;
pecl config-set php_ini /private/etc/php.ini;
sudo pear upgrade-all;
sudo pear install PHP_CodeSniffer;
----
nano /private/etc/php.ini;
include_path Zeile einkommentieren & umändern in:
include_path = ".:/php/includes:/usr/lib/php/pear/"
----
cd ~/Sites/myproject;
phpcs index.php;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment