Skip to content

Commit b814c05

Browse files
committed
Merge pull request #380 from WordPress-Coding-Standards/feature/version-comment
Update comment about required phpcs version
2 parents 54ca18f + a2b06ee commit b814c05

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ For convenience of using `phpcs` as global command you might want to add path to
3131

3232
1. Install PHP_CodeSniffer by following its [installation instructions](https://github.com/squizlabs/PHP_CodeSniffer#installation) (via Composer, PEAR, or Git checkout).
3333

34-
Do ensure, if for example you're using [VVV](https://github.com/Varying-Vagrant-Vagrants/VVV), that you have the **latest version** of CodeSniffer (earlier versions, e.g. ~1.5.5, may warn about incorrect line indentation on every single line even if your code is actually correct.)
34+
Do ensure, if for example you're using [VVV](https://github.com/Varying-Vagrant-Vagrants/VVV), that PHP_CodeSniffer's version matches our requirements (you can check the required version in [composer.json](composer.json#L18)).
3535

3636
2. Clone WordPress standards repository:
3737

composer.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,8 @@
22
"name" : "wp-coding-standards/wpcs",
33
"description": "PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions",
44
"keywords" : ["phpcs", "standards", "WordPress"],
5-
"license" : "MIT",
5+
"license" : "MIT",
66
"authors" : [
7-
{
8-
"name" : "X-Team",
9-
"homepage": "http://x-team.com/"
10-
},
117
{
128
"name" : "Contributors",
139
"homepage": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/graphs/contributors"
@@ -25,4 +21,4 @@
2521
"post-install-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths ../../..",
2622
"post-update-cmd" : "\"vendor/bin/phpcs\" --config-set installed_paths ../../.."
2723
}
28-
}
24+
}

0 commit comments

Comments
 (0)