This commit is contained in:
Laurent Destailleur 2020-11-05 11:51:59 +01:00
parent eab2582dd3
commit 395731014d

View File

@ -308,7 +308,7 @@ script:
# Ensure we catch errors
set -e
# Exclusions are defined in the ruleset.xml file
if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$DB" == "mysql" ]; then
if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$DB" = "mysql" ]; then
phpcs -s -p -d memory_limit=-1 --extensions=php --colors --tab-width=4 --standard=dev/setup/codesniffer/ruleset.xml --encoding=utf-8 --runtime-set ignore_warnings_on_exit true .;
fi
set +e