Merge pull request #384 from nextcloud/fix/noid/composer-lint-command-exit-code

Use proper exit code for composer lint
This commit is contained in:
Jonas 2020-05-14 10:37:08 +02:00 committed by GitHub
commit fbcd66b9b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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