From: Tim Düsterhus Date: Tue, 5 Feb 2013 15:39:56 +0000 (+0100) Subject: Automatically check PHP files for syntax errors X-Git-Tag: 2.0.0_Beta_1~503^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f8bb804533925d052ea0f39dac752906e6cc1e26;p=GitHub%2FWoltLab%2FWCF.git Automatically check PHP files for syntax errors --- diff --git a/.travis.yml b/.travis.yml index 785349a614..504cb4b77a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,4 +6,5 @@ before_install: - pear install pear/PHP_CodeSniffer - phpenv rehash script: - - phpcs -p --extensions=php --standard="`pwd`/CodeSniff/WCF" . \ No newline at end of file + - find . -type f -name '*.php' -exec php -l {} \; + - phpcs -p --extensions=php --standard="`pwd`/CodeSniff/WCF" .