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

This commit is contained in:
Julius Härtl
2020-05-14 09:45:54 +02:00
committed by GitHub

View File

@@ -23,7 +23,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"
}