From a0e3b3b8299c322dc595118df4359dcd8500ff52 Mon Sep 17 00:00:00 2001 From: jld3103 Date: Sat, 25 Mar 2023 12:48:43 +0100 Subject: [PATCH] Use all available threads for running psalm from composer Signed-off-by: jld3103 --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 4a58833c996..8615b1ca8db 100644 --- a/composer.json +++ b/composer.json @@ -47,7 +47,7 @@ "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/stubs/*' -print0 | xargs -0 -n1 php -l", - "psalm": "psalm --threads=1", - "psalm:update-baseline": "psalm --threads=1 --update-baseline" + "psalm": "psalm --threads=$(nproc)", + "psalm:update-baseline": "psalm --threads=$(nproc) --update-baseline" } }