Merge pull request #2267 from nextcloud/fix/noid/composer-lint-command-exit-code
Use proper exit code for composer lint
This commit is contained in:
commit
36d0433e18
|
@ -16,7 +16,7 @@
|
|||
"scripts": {
|
||||
"cs:fix": "php-cs-fixer fix",
|
||||
"cs:check": "php-cs-fixer fix --dry-run --diff",
|
||||
"lint": "find . -name \\*.php -not -path './vendor/*' -exec php -l \"{}\" \\;",
|
||||
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
|
||||
"phan": "phan --allow-polyfill-parser -k .phan/config.php",
|
||||
"test": "phpunit --configuration phpunit.unit.xml --fail-on-warning"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue