Skip to content

Commit

Permalink
Merge pull request #327 from MorrisJobke/fix/noid/composer-lint-comma…
Browse files Browse the repository at this point in the history
…nd-exit-code

Use proper exit code for composer lint
  • Loading branch information
nickvergessen authored May 13, 2020
2 parents 188f9eb + bc87bf9 commit ad929ec
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 @@ -7,6 +7,6 @@
"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"
}
}

0 comments on commit ad929ec

Please sign in to comment.