diff --git a/.travis.yml b/.travis.yml index 25a9770092cf0..dae3085e5b875 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 9efa43af3cdb7..d52c747d43c04 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 d8c5fd7b485b3..5dbac182d815b 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -5,11 +5,12 @@ - gutenberg.php - ./phpunit + gutenberg.php + ./phpunit + gutenberg.php