From b6a056b03d3b0278e40b9cc1e1a2c52f0d777fb0 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Wed, 13 May 2020 22:49:38 +0200 Subject: [PATCH] Use proper exit code for composer lint Signed-off-by: Morris Jobke --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 82e1d663a4e..3e37c9bcbfe 100644 --- a/composer.json +++ b/composer.json @@ -15,6 +15,6 @@ ], "require": {}, "scripts": { - "lint": "find . -name \\*.php -not -path './vendor/*' -exec php -l \"{}\" \\;" + "lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l" } }