diff --git a/.travis.yml b/.travis.yml
index 91b7ffc2..03201ffc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -79,13 +79,9 @@ script:
# WordPress Coding Standards.
# @link https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards
# @link http://pear.php.net/package/PHP_CodeSniffer/
- # -p flag: Show progress of the run.
- # -s flag: Show sniff codes in all reports.
- # -v flag: Print verbose output.
- # -n flag: Do not print warnings. (shortcut for --warning-severity=0)
- # --standard: Use WordPress as the standard.
- # --extensions: Only sniff PHP files.
- - if [[ "$SNIFF" == "1" ]]; then $PHPCS_DIR/scripts/phpcs -p -s -v -n . --standard=./codesniffer.ruleset.xml --extensions=php; fi
+ # Uses a custom ruleset based on WordPress. This ruleset is automatically
+ # picked up by PHPCS as it's named `phpcs.xml(.dist)`.
+ - if [[ "$SNIFF" == "1" ]]; then $PHPCS_DIR/scripts/phpcs; fi
# Receive notifications for build results.
# @link http://docs.travis-ci.com/user/notifications/#Email-notifications
diff --git a/codesniffer.ruleset.xml b/phpcs.xml.dist
similarity index 74%
rename from codesniffer.ruleset.xml
rename to phpcs.xml.dist
index 370904f2..7fd8284c 100644
--- a/codesniffer.ruleset.xml
+++ b/phpcs.xml.dist
@@ -7,6 +7,20 @@
A custom set of code standard rules to check for WordPress themes.
+
+
+
+
+
+
+
+ .
+