Skip to content

Commit

Permalink
Merge pull request #201 from ChristophWurst/fix/noid/composer-lint-co…
Browse files Browse the repository at this point in the history
…mmand-exit-code

Use proper exit code for composer lint
  • Loading branch information
ChristophWurst authored May 14, 2020
2 parents 7f79560 + af14240 commit 47551e5
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 @@ -18,7 +18,7 @@
"roave/security-advisories": "dev-master"
},
"scripts": {
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -exec php -l \"{}\" \\;",
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -print0 | xargs -0 -n1 php -l",
"test:integration": "phpunit -c tests/phpunit.integration.xml tests/Integration --fail-on-warning",
"test:integration:dev": "phpunit -c tests/phpunit.integration.xml tests/Integration --no-coverage --fail-on-warning",
"test:unit": "phpunit -c tests/phpunit.unit.xml tests/Unit --fail-on-warning",
Expand Down

0 comments on commit 47551e5

Please sign in to comment.