Skip to content

Commit

Permalink
Wun linter in parallel (#1020)
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor committed Feb 22, 2021
1 parent fcb9d68 commit bee3fa3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@
"scripts": {
"cs": "./robo sniff",
"unit": "phpunit",
"lint": [
"find src -name '*.php' -print0 | xargs -0 -n1 php -l",
"find tests/src -name '*.php' -print0 | xargs -0 -n1 php -l"
],
"lint": "find src tests/src -name '*.php' -print0 | xargs -0 -n1 -P4 -- php -l",
"test": [
"@lint",
"@unit",
Expand Down

0 comments on commit bee3fa3

Please sign in to comment.