Make usage example correct.

(took me some time to figure this out for the Travis CI integration for WordPress SEO :) )
This commit is contained in:
Joost de Valk 2014-07-04 23:41:27 +02:00
parent bb29ff84cf
commit 8b5ed1827d

View file

@ -18,10 +18,10 @@ To install PHP_CodeSniffer and the WordPress standard(s):
```bash
cd ~/path/to/install/dir
git clone git@github.com:squizlabs/PHP_CodeSniffer.git phpcs
git clone https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards wpcs
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
phpcs --config-set installed_paths ../wpcs
```
Then edit your `$PATH` environment variable to include the location of the `phpcs` script.