From cbc802468b5c9561255ef168f1bb65c2804c1799 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Wed, 13 May 2020 22:48:45 +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 8300f0e..ca30f4b 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ "classmap-authoritative": true }, "scripts": { - "lint": "find . -name \\*.php -not -path './vendor/*' -exec php -l \"{}\" \\;", + "lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l", "cs:check": "php-cs-fixer fix --dry-run --diff", "cs:fix": "php-cs-fixer fix" }