Use proper exit code for composer lint
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
84b5b28892
commit
ba12e8469d
|
@ -21,6 +21,6 @@
|
|||
"scripts": {
|
||||
"cs:check": "php-cs-fixer fix --dry-run --verbose",
|
||||
"cs:fix": "php-cs-fixer fix",
|
||||
"lint": "find . -name \\*.php -not -path './vendor/*' -exec php -l \"{}\" \\;"
|
||||
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue