summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2023-04-03 09:52:25 +0200
committerGitHub <noreply@github.com>2023-04-03 09:52:25 +0200
commitcac31061c75e5a0f7123022d44ed19becbb8413d (patch)
tree86095c8d69836ad9b4d9e07f496a77a152a99b5d /composer.json
parentb5da85df3a83da23d13437d13486ceabc738fc24 (diff)
parenta0e3b3b8299c322dc595118df4359dcd8500ff52 (diff)
downloadnextcloud-server-cac31061c75e5a0f7123022d44ed19becbb8413d.tar.gz
nextcloud-server-cac31061c75e5a0f7123022d44ed19becbb8413d.zip
Merge pull request #37503 from nextcloud/fix/composer-psalm-threads
Use all available threads for running psalm from composer
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json4
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"
}
}