diff options
author | Carl Schwan <carl@carlschwan.eu> | 2021-12-13 18:46:58 +0300 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2021-12-13 19:05:14 +0300 |
commit | c22b57dda1f29c33267094d9abec10b8a248a8cd (patch) | |
tree | 021b58534b3889e87547bcb8fe24a056bcac83a5 /composer.json | |
parent | 50a21781082951fc65e83f092ee6e5b92d36c298 (diff) |
Maybe fix Ci
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 39 |
1 files changed, 21 insertions, 18 deletions
diff --git a/composer.json b/composer.json index 2194ebef..fc4624b3 100644 --- a/composer.json +++ b/composer.json @@ -1,20 +1,23 @@ { - "require-dev": { - "phpunit/phpunit": "^9", - "psalm/phar": "^4.3", - "sabre/dav": "^4.1", - "sabre/xml": "^2.2", - "symfony/event-dispatcher": "^5.3.11", - "christophwurst/nextcloud": "dev-master" - }, - "require": { - "php-parallel-lint/php-parallel-lint": "^1.2" - }, - "scripts": { - "lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l", - "cs:check": "php-cs-fixer fix --dry-run --diff", - "cs:fix": "php-cs-fixer fix", - "psalm": "psalm.phar", - "psalm:fix": "psalm.phar --alter --issues=InvalidReturnType,InvalidNullableReturnType,MismatchingDocblockParamType,MismatchingDocblockReturnType,MissingParamType,InvalidFalsableReturnType" - } + "require-dev": { + "phpunit/phpunit": "^9", + "psalm/phar": "^4.3", + "sabre/dav": "^4.1", + "sabre/xml": "^2.2", + "symfony/event-dispatcher": "^5.3.11", + "christophwurst/nextcloud": "dev-master@dev", + "vimeo/psalm": "^4.10" + }, + "require": { + "php-parallel-lint/php-parallel-lint": "^1.2" + }, + "scripts": { + "lint": "find . -name \\*.php -not -path './vendor/*' -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 --set-baseline=tests/psalm-baseline.xml", + "psalm:clear": "psalm --clear-cache && psalm --clear-global-cache", + "psalm:fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType" + } } |