diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-10-08 11:46:12 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-10-08 11:46:12 +0300 |
commit | 92f41dcfc616c31abaff6ef9e361e4f749a49449 (patch) | |
tree | 442043cc5155649c2632c24cd31719527deb4936 /composer.json | |
parent | 59d80a89eb0288f8b1ec29fbd5d627fff51c5c22 (diff) |
Update psalm setup
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/composer.json b/composer.json index c30bd225a..4d9294e54 100644 --- a/composer.json +++ b/composer.json @@ -44,7 +44,7 @@ }, "require-dev": { "roave/security-advisories": "dev-master", - "christophwurst/nextcloud": "v20.0.0-beta1", + "christophwurst/nextcloud": "v20.0.0", "christophwurst/nextcloud_testing": "0.10.0", "nextcloud/coding-standard": "^0.3.0", "phan/phan": "^3.0", @@ -55,6 +55,8 @@ "cs:fix": "php-cs-fixer fix", "lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l", "phan": "phan --allow-polyfill-parser -k .phan/config.php", + "psalm": "psalm", + "psalm:fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType", "post-install-cmd": [ "\"vendor/bin/mozart\" compose", "composer dump-autoload" |