aboutsummaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-05-13 11:43:11 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-05-13 12:52:52 +0200
commit8614abaa5bce495b47ecf1ff0216d62c136401e1 (patch)
tree6aa2703e114114a9fd1b83ca2f38f74a9fc52e1a /composer.json
parentc6da7ec24cc913af152b4df35a52888f92a4635a (diff)
downloadnextcloud-server-8614abaa5bce495b47ecf1ff0216d62c136401e1.tar.gz
nextcloud-server-8614abaa5bce495b47ecf1ff0216d62c136401e1.zip
Respect exit code of lint run - changed from -exec to xargs as this exits properly
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/composer.json b/composer.json
index 937df706202..fb6cd010889 100644
--- a/composer.json
+++ b/composer.json
@@ -22,6 +22,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"
}
}