From f8bb804533925d052ea0f39dac752906e6cc1e26 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 5 Feb 2013 16:39:56 +0100 Subject: [PATCH] Automatically check PHP files for syntax errors --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" . -- 2.20.1