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:
authorJoas Schilling <coding@schilljs.com>2020-10-09 12:28:46 +0300
committerJoas Schilling <coding@schilljs.com>2020-10-09 12:28:46 +0300
commit3b9deaae794e3df1791cf61dcea31e91139558e1 (patch)
tree688ad30dbfc4f5cc2b5589d2fedfdeef67ee2a69 /composer.json
parent5491c1accbd30013c0930d211dabb382aca7472e (diff)
Add Psalm
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json9
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"
}
}