From 80f93e918e9f21063364dfa23bb1409e50306f3b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 5 Feb 2013 16:49:16 +0100 Subject: [PATCH] Fix syntax error check --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" . -- 2.20.1