Fixed syntax error on phpcs.sh

This commit is contained in:
Claudio Sanches 2017-10-10 09:34:47 -03:00
parent 01cafe62d8
commit f479d916e5
1 changed files with 1 additions and 4 deletions

View File

@ -9,8 +9,5 @@ if [[ $TRAVIS_PHP_VERSION == '7.1' ]]; then
if [ "$CHANGED_FILES" != "" ]; then
echo "Running Code Sniffer."
./vendor/bin/phpcs --ignore=$IGNORE --standard=./phpcs.ruleset.xml --encoding=utf-8 -n -p $CHANGED_FILES
if [ $? != 0 ]; then
exit 1
fi
fi
if
fi