diff options
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/composer.json b/composer.json index 1c5cd09ae..f5efcfb37 100644 --- a/composer.json +++ b/composer.json @@ -2,9 +2,14 @@ "scripts": { "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" + "lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -not -path './tests/integration/vendor/*' -print0 | xargs -0 -n1 php -l", + "psalm": "psalm", + "psalm:fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType" }, + "minimum-stability": "dev", "require-dev": { - "nextcloud/coding-standard": "^0.3.0" + "nextcloud/coding-standard": "^0.3.0", + "vimeo/psalm": "^3.16", + "christophwurst/nextcloud": "dev-master" } } |