|
17 | 17 | ], |
18 | 18 | "require-dev": { |
19 | 19 | "nextcloud/coding-standard": "^v1.0.0", |
20 | | - "vimeo/psalm": "^5.6.0", |
21 | 20 | "nextcloud/ocp": "dev-master", |
22 | | - "phan/phan": "5.x", |
23 | 21 | "staabm/annotate-pull-request-from-checkstyle": "^1.8", |
24 | 22 | "phpunit/phpunit": "^9", |
25 | | - "nextcloud/openapi-extractor": "dev-main" |
| 23 | + "nextcloud/openapi-extractor": "dev-main", |
| 24 | + "psalm/phar": "^5.18" |
26 | 25 | }, |
27 | 26 | "config": { |
28 | 27 | "optimize-autoloader": true, |
|
39 | 38 | "lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -print0 | xargs -0 -n1 php -l", |
40 | 39 | "cs:check": "php-cs-fixer fix --dry-run --diff", |
41 | 40 | "cs:fix": "php-cs-fixer fix", |
42 | | - "psalm": "./vendor/bin/psalm --show-info=true --no-cache", |
43 | | - "psalm:update-baseline": "./vendor/bin/psalm --update-baseline", |
44 | | - "psalm:fix": "./vendor/bin/psalm --no-cache --alter --issues=InvalidReturnType,InvalidNullableReturnType,MismatchingDocblockParamType,MismatchingDocblockReturnType,MissingParamType,InvalidFalsableReturnType", |
45 | | - "psalm:fix:dry": "./vendor/bin/psalm --no-cache --alter --issues=InvalidReturnType,InvalidNullableReturnType,MismatchingDocblockParamType,MismatchingDocblockReturnType,MissingParamType,InvalidFalsableReturnType --dry-run" |
| 41 | + "psalm": "./vendor/bin/psalm.phar --show-info=true --no-cache", |
| 42 | + "psalm:update-baseline": "./vendor/bin/psalm.phar --update-baseline", |
| 43 | + "psalm:fix": "./vendor/bin/psalm.phar --no-cache --alter --issues=InvalidReturnType,InvalidNullableReturnType,MismatchingDocblockParamType,MismatchingDocblockReturnType,MissingParamType,InvalidFalsableReturnType", |
| 44 | + "psalm:fix:dry": "./vendor/bin/psalm.phar --no-cache --alter --issues=InvalidReturnType,InvalidNullableReturnType,MismatchingDocblockParamType,MismatchingDocblockReturnType,MissingParamType,InvalidFalsableReturnType --dry-run" |
46 | 45 | }, |
47 | 46 | "require": { |
48 | 47 | "phpoffice/phpspreadsheet": "^1.28", |
|
0 commit comments