diff --git a/composer.json b/composer.json index 82e1d663a4e..3e37c9bcbfe 100644 --- a/composer.json +++ b/composer.json @@ -15,6 +15,6 @@ ], "require": {}, "scripts": { - "lint": "find . -name \\*.php -not -path './vendor/*' -exec php -l \"{}\" \\;" + "lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l" } }