Use all available threads for running psalm from composer

Signed-off-by: jld3103 <jld3103yt@gmail.com>
pull/37503/head
jld3103 1 year ago
parent f960d9aae4
commit a0e3b3b829
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3

@ -47,7 +47,7 @@
"cs:fix": "php-cs-fixer fix", "cs:fix": "php-cs-fixer fix",
"cs:check": "php-cs-fixer fix --dry-run --diff", "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", "lint": "find . -name \\*.php -not -path './lib/composer/*' -not -path './build/stubs/*' -print0 | xargs -0 -n1 php -l",
"psalm": "psalm --threads=1", "psalm": "psalm --threads=$(nproc)",
"psalm:update-baseline": "psalm --threads=1 --update-baseline" "psalm:update-baseline": "psalm --threads=$(nproc) --update-baseline"
} }
} }

Loading…
Cancel
Save