From acec5b0b33e7357f10512939369828966441b880 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Wed, 18 Dec 2019 08:37:51 +0800 Subject: [PATCH] Change lint check to report fails correctly --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d985a95..1f8312a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,4 +37,4 @@ jobs: script: # Run a php lint across all PHP files. - - find . -name '*\.php' -exec php -l {} \; + - find . -type f -name '*\.php' -print0 | xargs -0 -n1 php -l