Use all available threads for running psalm from composer
Signed-off-by: jld3103 <jld3103yt@gmail.com>
This commit is contained in:
parent
f960d9aae4
commit
a0e3b3b829
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue