Use all available threads for running psalm from composer

Signed-off-by: jld3103 <jld3103yt@gmail.com>
This commit is contained in:
jld3103 2023-03-25 12:48:43 +01:00
parent f960d9aae4
commit a0e3b3b829
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
1 changed files with 2 additions and 2 deletions

View File

@ -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"
}
}