diff options
author | jld3103 <jld3103yt@gmail.com> | 2023-03-25 12:48:43 +0100 |
---|---|---|
committer | jld3103 <jld3103yt@gmail.com> | 2023-03-31 08:39:46 +0200 |
commit | a0e3b3b8299c322dc595118df4359dcd8500ff52 (patch) | |
tree | 01dffb4cc981360125454988c1b69ba5a4109b9e /composer.json | |
parent | f960d9aae494f2b94ea6c4be38b47670fbaa8ad3 (diff) | |
download | nextcloud-server-a0e3b3b8299c322dc595118df4359dcd8500ff52.tar.gz nextcloud-server-a0e3b3b8299c322dc595118df4359dcd8500ff52.zip |
Use all available threads for running psalm from composer
Signed-off-by: jld3103 <jld3103yt@gmail.com>
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 4 |
1 files 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" } } |