diff --git a/.travis.yml b/.travis.yml
index 7c6946a..65189d9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,8 +10,9 @@ matrix:
- php: '5.6'
- php: '7.0'
- php: '7.1'
- env: SNIFF=1
- env: DEPLOY=1
+ env:
+ - DEPLOY=1
+ - SNIFF=1
before_script:
- export PHPCS_DIR=/tmp/phpcs
- export SNIFFS_DIR=/tmp/sniffs
@@ -19,7 +20,7 @@ before_script:
$PHPCS_DIR; fi
- if [[ "$SNIFF" == "1" ]]; then git clone -b master --depth 1 https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git
$SNIFFS_DIR; fi
-- if [[ "$SNIFF" == "1" ]]; then git clone -b master --depth 1 https://github.com/wimg/PHPCompatibility.git
+- if [[ "$SNIFF" == "1" ]]; then git clone -b 7.1.4 --depth 1 https://github.com/wimg/PHPCompatibility.git
$SNIFFS_DIR/PHPCompatibility; fi
- if [[ "$SNIFF" == "1" ]]; then $PHPCS_DIR/scripts/phpcs --config-set installed_paths
$SNIFFS_DIR; fi
@@ -50,10 +51,10 @@ script:
--standard=./phpcs.ruleset.xml --extensions=php --ignore=./node_modules/**/**/*.php;
fi
- if [[ "$SNIFF" == "1" ]]; then $PHPCS_DIR/scripts/phpcs -p -s -v -n ./**/**/**/**/*.php
- --standard=./phpcs.ruleset.xml --extensions=php --ignore=./node_modules/**/**/**/*.php;
+ --standard=./phpcs.ruleset.xml --extensions=php --ignore=./node_modules/**/**/**/*.php,./inc/libraries/epsilon-framework/*.php;
fi
- if [[ "$SNIFF" == "1" ]]; then $PHPCS_DIR/scripts/phpcs -p -s -v -n ./**/**/**/**/**/*.php
- --standard=./phpcs.ruleset.xml --extensions=php --ignore=./node_modules/**/**/**/**/*.php;
+ --standard=./phpcs.ruleset.xml --extensions=php --ignore=./node_modules/**/**/**/**/*.php,./inc/libraries/epsilon-framework/**/*.php;
fi
notifications:
email: false
diff --git a/404.php b/404.php
index 590a3de..e483382 100644
--- a/404.php
+++ b/404.php
@@ -10,8 +10,8 @@
@@ -21,12 +21,12 @@