Skip to content

Commit

Permalink
Merge pull request #409 from nextcloud/fix/noid/composer-lint-command…
Browse files Browse the repository at this point in the history
…-exit-code

Use proper exit code for composer lint
  • Loading branch information
MorrisJobke authored May 14, 2020
2 parents 674fd06 + 3121ea7 commit 555241e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"nextcloud/coding-standard": "^0.3.0"
},
"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"
},
Expand Down

0 comments on commit 555241e

Please sign in to comment.