diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-03-12 10:54:38 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-03-12 11:40:51 +0300 |
commit | 2ac5e930017ec0c18c2be6b319df4fe6855f97b4 (patch) | |
tree | 3f8c534e7e5006c6ebec1863102db23392318244 /composer.json | |
parent | f1f826eccb735b1f4e0784717258052b8b7bf05b (diff) |
Use the self-contained version of Psalm
Fewer dependencies -> fewer possible conflicts
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/composer.json b/composer.json index edf203ce0..5157e0f3e 100644 --- a/composer.json +++ b/composer.json @@ -47,15 +47,15 @@ }, "require-dev": { "christophwurst/nextcloud": "v20.0.7", - "roave/security-advisories": "dev-master", - "vimeo/psalm": "^4.1" + "psalm/phar": "^4.6", + "roave/security-advisories": "dev-master" }, "scripts": { "cs:check": "php-cs-fixer fix --dry-run --diff", "cs:fix": "php-cs-fixer fix", "lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l", - "psalm": "psalm", - "psalm:fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MismatchingDocblockParamType,MismatchingDocblockReturnType,MissingParamType,InvalidFalsableReturnType", + "psalm": "psalm.phar", + "psalm:fix": "psalm.phar --alter --issues=InvalidReturnType,InvalidNullableReturnType,MismatchingDocblockParamType,MismatchingDocblockReturnType,MissingParamType,InvalidFalsableReturnType", "post-install-cmd": [ "@composer bin all install --ansi", "\"vendor/bin/mozart\" compose", |