diff --git a/.travis.yml b/.travis.yml index 276fc3c..b530c36 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,4 +12,5 @@ before_script: - sed -i 's///' WCF/CodeSniff/WCF/ruleset.xml - sed -i 's///' WCF/CodeSniff/WCF/ruleset.xml script: + - find . -type f -name '*.php' |xargs -I file php -l file > /dev/null - phpcs -p --extensions=php --standard="`pwd`/WCF/CodeSniff/WCF" file