diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-04-15 13:34:01 +0200 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-04-15 13:35:51 +0200 |
commit | 9e20993c4d8b00d3b8eb19a804f543f17335b47b (patch) | |
tree | 94b574a5f9fbb0e0917185c637c6e34b024fb266 /composer.json | |
parent | be80ca5d0fc9bd77f4c7c8fd7c986d378b79cc13 (diff) |
Php cs:fix
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/composer.json b/composer.json index 82ee931f..2878cd18 100644 --- a/composer.json +++ b/composer.json @@ -29,8 +29,20 @@ }, "require-dev": { "jakub-onderka/php-parallel-lint": "^1.0", - "phpunit/phpunit": "^6.4", - "rector/rector": "^0.12.20" + "rector/rector": "^0.12.20", + "phpunit/phpunit": "^9.5", + "nextcloud/coding-standard": "^1.0.0", + "christophwurst/nextcloud": "dev-master", + "vimeo/psalm": "^4.22.0" + }, + "scripts": { + "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: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" }, "repositories": [ { |