From bdf29d8601ade3d52c966011ada9b485844629aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Sun, 21 Feb 2021 20:14:27 +0100 Subject: [PATCH] Wun linter in parallel --- composer.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 6b3c2739..e3ee1437 100644 --- a/composer.json +++ b/composer.json @@ -48,10 +48,7 @@ "scripts": { "cs": "./robo sniff", "unit": "phpunit", - "lint": [ - "find src -name '*.php' -print0 | xargs -0 -n1 php -l", - "find tests/src -name '*.php' -print0 | xargs -0 -n1 php -l" - ], + "lint": "find src tests/src -name '*.php' -print0 | xargs -0 -n1 -P4 -- php -l", "test": [ "@lint", "@unit",