Skip to content

Commit

Permalink
Merge pull request #20960 from nextcloud/backport/20952/stable19
Browse files Browse the repository at this point in the history
[stable19] Respect exit code of lint run - changed from -exec to xargs as this e…
  • Loading branch information
rullzer authored May 14, 2020
2 parents 3d201d7 + ffb4d54 commit 60fd1a3
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 @@ -19,6 +19,6 @@
"scripts": {
"cs:fix": "php-cs-fixer fix",
"cs:check": "php-cs-fixer fix --dry-run --diff",
"lint": "find . -name \\*.php -not -path './lib/composer/*' -not -path './build/.phan/*' -exec php -l \"{}\" \\;"
"lint": "find . -name \\*.php -not -path './lib/composer/*' -not -path './build/.phan/*' -print0 | xargs -0 -n1 php -l"
}
}

0 comments on commit 60fd1a3

Please sign in to comment.