From 977dcc71f45cad19117ba68a2d7af8247f3c69a7 Mon Sep 17 00:00:00 2001 From: James Nylen Date: Mon, 5 Jun 2017 11:12:17 -0400 Subject: [PATCH] Remove '-s' argument --- .travis.yml | 2 +- docs/coding-guidelines.md | 5 +---- phpcs.xml | 5 +++-- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 25a9770092cf04..dae3085e5b875b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -58,7 +58,7 @@ script: fi - | if [[ "$TRAVISCI" == "phpcs" ]] ; then - phpcs -s + phpcs fi - | if [[ "$TRAVISCI" == "js" ]] ; then diff --git a/docs/coding-guidelines.md b/docs/coding-guidelines.md index 9efa43af3cdb71..d52c747d43c047 100644 --- a/docs/coding-guidelines.md +++ b/docs/coding-guidelines.md @@ -116,7 +116,4 @@ Then you must install the `WordPress-Coding-Standards` repository and tell https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards#standalone -You should now be able to run `phpcs -s` from the root directory of this -project. (The `-s` option means "show sniff codes in all reports", or "show -the name of each rule that fails". This additional output makes it much easier -to determine the specific issue with your code.) +You should now be able to run `phpcs` from the root directory of this project. diff --git a/phpcs.xml b/phpcs.xml index d8c5fd7b485b30..5dbac182d815b8 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -5,11 +5,12 @@ - gutenberg.php - ./phpunit + gutenberg.php + ./phpunit + gutenberg.php