Skip to content

Commit

Permalink
Merge pull request #380 from WordPress-Coding-Standards/feature/versi…
Browse files Browse the repository at this point in the history
…on-comment

Update comment about required phpcs version
  • Loading branch information
westonruter committed May 7, 2015
2 parents 54ca18f + a2b06ee commit b814c05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ For convenience of using `phpcs` as global command you might want to add path to

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

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.)
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)).

2. Clone WordPress standards repository:

Expand Down
8 changes: 2 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,8 @@
"name" : "wp-coding-standards/wpcs",
"description": "PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions",
"keywords" : ["phpcs", "standards", "WordPress"],
"license" : "MIT",
"license" : "MIT",
"authors" : [
{
"name" : "X-Team",
"homepage": "http://x-team.com/"
},
{
"name" : "Contributors",
"homepage": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/graphs/contributors"
Expand All @@ -25,4 +21,4 @@
"post-install-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths ../../..",
"post-update-cmd" : "\"vendor/bin/phpcs\" --config-set installed_paths ../../.."
}
}
}

0 comments on commit b814c05

Please sign in to comment.