diff --git a/.travis.yml b/.travis.yml index 10c8065..4d8831b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -66,4 +66,4 @@ script: # Search for PHP syntax errors. - find -L . -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l # Run WordPress Coding Standards checking - - if [[ "$SNIFF" == "1" ]]; then $PHPCS_DIR/scripts/phpcs -p -s -v -n . --standard=./codesniffer.ruleset.xml --extensions=php --ignore=*/woocommerce/*; fi + - if [[ "$SNIFF" == "1" ]]; then $PHPCS_DIR/scripts/phpcs -p -s -v -n . --standard=./codesniffer.ruleset.xml --extensions=php --ignore=*/woocommerce/*,*/inc/*; fi