Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2020-11-02 15:24:29 +0300
committerVincent Petry <vincent@nextcloud.com>2020-11-02 15:42:07 +0300
commitca678c607c822f67c17e45a4c41cccfc8b94ca15 (patch)
tree12f36766e9901c3278959a691da91a7cf7951e62 /composer.json
parent49342868037dd89e793eb546c7ff24fc477ef527 (diff)
Adjusted composer psalm commands
- Run with a single thread, otherwise it crashes on some environments like mine... - Added composer command to clear psalm's caches. - Added command to update the baseline automatically Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/composer.json b/composer.json
index f5efcfb37..8e72d10c5 100644
--- a/composer.json
+++ b/composer.json
@@ -3,7 +3,9 @@
"cs:check": "php-cs-fixer fix --dry-run --diff",
"cs:fix": "php-cs-fixer fix",
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -not -path './tests/integration/vendor/*' -print0 | xargs -0 -n1 php -l",
- "psalm": "psalm",
+ "psalm": "psalm --threads=1",
+ "psalm:update-baseline": "psalm --threads=1 --update-baseline",
+ "psalm:clear": "psalm --clear-cache && psalm --clear-global-cache",
"psalm:fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType"
},
"minimum-stability": "dev",