sync
This commit is contained in:
parent
e826ca9e1d
commit
9f82f6afcc
|
@ -66,4 +66,4 @@ script:
|
||||||
# Search for PHP syntax errors.
|
# Search for PHP syntax errors.
|
||||||
- find -L . -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l
|
- find -L . -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l
|
||||||
# Run WordPress Coding Standards checking
|
# 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/*,*/inc/*; fi
|
- if [[ "$SNIFF" == "1" ]]; then $PHPCS_DIR/scripts/phpcs -p -s -v -n . --standard=./codesniffer.ruleset.xml --extensions=php --ignore=*/woocommerce/*; fi
|
||||||
|
|
Reference in New Issue