diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-05-13 22:48:26 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-05-13 22:48:26 +0200 |
commit | 2af0bce0feacda633fcbabb155586591603b9cc2 (patch) | |
tree | bc218db2d74ca81d63713a4e8a7e9db2da4a5772 /composer.json | |
parent | 4ebf8ea0aff333ecbec24cc4cefd0f0167b39fc4 (diff) |
Use proper exit code for composer lint
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/composer.json b/composer.json index 8f8eee00..54f2a482 100644 --- a/composer.json +++ b/composer.json @@ -7,7 +7,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", "test:unit": "phpunit -c phpunit.xml --fail-on-warning", "test:integration": "phpunit -c phpunit.integration.xml --fail-on-warning" } |