Skip to content

Commit b763d20

Browse files
authored
Merge pull request #1883 from nextcloud/fix/noid/composer-lint-command-exit-code
2 parents c916ad0 + 788d34d commit b763d20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"classmap-authoritative": true
2424
},
2525
"scripts": {
26-
"lint": "find . -name \\*.php -not -path './vendor/*' -exec php -l \"{}\" \\;",
26+
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
2727
"cs:check": "php-cs-fixer fix --dry-run --diff",
2828
"cs:fix": "php-cs-fixer fix"
2929
}

0 commit comments

Comments
 (0)