diff --git a/composer.json b/composer.json index 35f80b547..6aca86b34 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "classmap-authoritative": true }, "scripts": { - "lint": "find . -name \\*.php -not -path './vendor/*' -exec php -l \"{}\" \\;", + "lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l", "cs:check": "php-cs-fixer fix --dry-run --diff", "cs:fix": "php-cs-fixer fix" }