From ac54d6ab2d4bbf0cb7d5fc4426e4ae3d301d896f Mon Sep 17 00:00:00 2001 From: "J.D. Grimes" Date: Thu, 7 May 2015 09:52:36 -0400 Subject: [PATCH 1/2] Update comment about required phpcs version See https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/pull/378#issuecomment-98499800. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 56977228a7..ebaffa641d 100644 --- a/README.md +++ b/README.md @@ -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: From a2b06ee58d23dfbeaaf51a7ef0553a305eb20e21 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Thu, 7 May 2015 08:58:58 -0700 Subject: [PATCH 2/2] Clean up composer.json --- composer.json | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index 9f664e44a3..40f9035233 100644 --- a/composer.json +++ b/composer.json @@ -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" @@ -25,4 +21,4 @@ "post-install-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths ../../..", "post-update-cmd" : "\"vendor/bin/phpcs\" --config-set installed_paths ../../.." } -} \ No newline at end of file +}