Skip to content

Commit 51ddc4d

Browse files
author
Damien Chantelouve
authored
Update README.md
1 parent 1f45aa0 commit 51ddc4d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ PHP Coding Standards of Pilot'in
1414
- Having `WordPress Coding Standards` installed:
1515

1616
`composer global require dealerdirect/phpcodesniffer-composer-installer phpcompatibility/phpcompatibility-wp squizlabs/php_codesniffer wp-coding-standards/wpcs`
17-
- Download this repo and put it somewhere on your drive.
17+
- **Clone this repo** somewhere on your drive *(or you can just download this repo and unzip it but it's not going to be synced / updated)*
1818
- Get the current path config of **phpcs** using:
1919

2020
`phpcs --config-show`
@@ -23,6 +23,8 @@ PHP Coding Standards of Pilot'in
2323

2424
*For reference, mine looks like this: `C:\composer\vendor/phpcompatibility/php-compatibility,C:\composer\vendor/phpcompatibility/phpcompatibility-paragonie,C:\composer\vendor/phpcompatibility/phpcompatibility-wp,C:\composer\vendor/wp-coding-standards/wpcs,C:\Users\Administrateur\Documents\PLUGINS DEV\PilotIn-Coding-Standards\PilotIn`*
2525

26+
*⚠️ If you have relative paths, replace them by *absolute* paths!*
27+
2628
- Give the new paths to **phpcs** using this command & change `your/paths/goes/here`:
2729

2830
`phpcs --config-set installed_paths your/paths/goes/here`

0 commit comments

Comments
 (0)