diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2020-05-14 09:40:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-14 09:40:07 +0300 |
commit | aca8c5446ef341a2a344b0ca6a17b0b4e2bdd3dc (patch) | |
tree | a22267a094e8c6813b282befa04e90767e7323f6 /composer.json | |
parent | fe6999a34fe9e8e2467ece96c657753f92b07ecb (diff) | |
parent | 83a2cec374acb46765781bb412e18830a26f6b1e (diff) |
Merge pull request #3106 from nextcloud/fix/noid/composer-lint-command-exit-code
Use proper exit code for composer lint
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/composer.json b/composer.json index 216aa6ec5..35faf7420 100644 --- a/composer.json +++ b/composer.json @@ -52,7 +52,7 @@ "scripts": { "cs:check": "php-cs-fixer fix --dry-run --diff", "cs:fix": "php-cs-fixer fix", - "lint": "find . -name \\*.php -not -path './vendor/*' -exec php -l \"{}\" \\;", + "lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l", "phan": "phan --allow-polyfill-parser -k .phan/config.php", "post-install-cmd": [ "\"vendor/bin/mozart\" compose", |