Use proper exit code for composer lint
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
61baaa2257
commit
cbc802468b
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue