Fix path to phpcs executable

This commit is contained in:
Joost de Valk 2014-07-04 23:48:43 +02:00
parent c892bbdbb3
commit 1fab8f96d6

View file

@ -21,7 +21,7 @@ cd ~/path/to/install/dir
git clone https://github.com/squizlabs/PHP_CodeSniffer.git phpcs
git clone https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git wpcs
cd phpcs
phpcs --config-set installed_paths ../wpcs
scripts/phpcs --config-set installed_paths ../wpcs
```
Then edit your `$PATH` environment variable to include the location of the `phpcs` script.