From 8f2f2a4ed5dc590860edaf4ad090b7908239d1cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Sun, 3 Mar 2013 19:03:46 +0100 Subject: [PATCH] Check PHP syntax in travis --- .travis.yml | 1 + 1 file changed, 1 insertion(+) 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