diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-04-15 15:01:27 +0200 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-04-15 17:40:33 +0200 |
commit | 46df90a0fbb0e2422e3c56b6c786b64a2e8478b0 (patch) | |
tree | edac893b8884ecbed4b10ce5f31d9047c67f399a /composer.json | |
parent | 9e20993c4d8b00d3b8eb19a804f543f17335b47b (diff) |
Add psalm static analysis
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/composer.json b/composer.json index 2878cd18..005bb7c9 100644 --- a/composer.json +++ b/composer.json @@ -28,8 +28,6 @@ "friendica/json-ld": "^1.0" }, "require-dev": { - "jakub-onderka/php-parallel-lint": "^1.0", - "rector/rector": "^0.12.20", "phpunit/phpunit": "^9.5", "nextcloud/coding-standard": "^1.0.0", "christophwurst/nextcloud": "dev-master", @@ -39,7 +37,7 @@ "lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -print0 | xargs -0 -n1 php -l", "cs:check": "php-cs-fixer fix --dry-run --diff", "cs:fix": "php-cs-fixer fix", - "psalm": "psalm --threads=1", + "psalm": "psalm --threads=1 --update-baseline", "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" |