Use proper exit code for composer lint

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2020-05-13 22:47:59 +02:00 committed by Marcel Klehr
parent b6413fffa2
commit bd5b4f5940
1 changed files with 1 additions and 1 deletions

View File

@ -21,6 +21,6 @@
"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"
}
}