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:
Georg Ehrke 2020-05-14 13:42:44 +02:00 committed by GitHub
commit 36d0433e18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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"
}