diff --git a/.travis.yml b/.travis.yml
index 182a5677..cb3b4105 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -84,7 +84,7 @@ script:
# @link https://pear.php.net/package/PHP_CodeSniffer/
# 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/bin/phpcs; fi
+ - if [[ "$SNIFF" == "1" ]]; then $PHPCS_DIR/bin/phpcs --runtime-set ignore_warnings_on_exit 1; fi
# Receive notifications for build results.
# @link https://docs.travis-ci.com/user/notifications/#Email-notifications
diff --git a/phpcs.xml.dist b/phpcs.xml.dist
index c8e95d43..69e0c59f 100644
--- a/phpcs.xml.dist
+++ b/phpcs.xml.dist
@@ -19,10 +19,8 @@
-
+