mirror of
https://github.com/WordPress/WordPress-Coding-Standards.git
synced 2025-08-31 03:20:30 +08:00
Fix path to phpcs executable
This commit is contained in:
parent
c892bbdbb3
commit
1fab8f96d6
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ cd ~/path/to/install/dir
|
||||||
git clone https://github.com/squizlabs/PHP_CodeSniffer.git phpcs
|
git clone https://github.com/squizlabs/PHP_CodeSniffer.git phpcs
|
||||||
git clone https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git wpcs
|
git clone https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git wpcs
|
||||||
cd phpcs
|
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.
|
Then edit your `$PATH` environment variable to include the location of the `phpcs` script.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue