From: Tim Düsterhus Date: Tue, 5 Feb 2013 15:49:16 +0000 (+0100) Subject: Fix syntax error check X-Git-Tag: 2.0.0_Beta_1~503^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=80f93e918e9f21063364dfa23bb1409e50306f3b;p=GitHub%2FWoltLab%2FWCF.git Fix syntax error check --- diff --git a/.travis.yml b/.travis.yml index 504cb4b77a..b5e46ac527 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,5 +6,5 @@ before_install: - pear install pear/PHP_CodeSniffer - phpenv rehash script: - - find . -type f -name '*.php' -exec php -l {} \; + - find . -type f -name '*.php' |xargs -I file php -l file > /dev/null - phpcs -p --extensions=php --standard="`pwd`/CodeSniff/WCF" .