diff --git a/composer.json b/composer.json index 519bf44f..05185652 100644 --- a/composer.json +++ b/composer.json @@ -7,6 +7,6 @@ "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" } }