|
17 | 17 | "psr/log": "^3.0"
|
18 | 18 | },
|
19 | 19 | "require-dev": {
|
20 |
| - "codeigniter/phpstan-codeigniter": "^1.4", |
| 20 | + "codeigniter/phpstan-codeigniter": "^1.5", |
21 | 21 | "fakerphp/faker": "^1.9",
|
22 | 22 | "kint-php/kint": "^5.0.4",
|
23 | 23 | "mikey179/vfsstream": "^1.6",
|
24 | 24 | "nexusphp/tachycardia": "^2.0",
|
25 | 25 | "phpstan/extension-installer": "^1.4",
|
26 |
| - "phpstan/phpstan": "^1.11", |
27 |
| - "phpstan/phpstan-strict-rules": "^1.6", |
| 26 | + "phpstan/phpstan": "^2.0", |
| 27 | + "phpstan/phpstan-strict-rules": "^2.0", |
28 | 28 | "phpunit/phpcov": "^9.0.2 || ^10.0",
|
29 | 29 | "phpunit/phpunit": "^10.5.16 || ^11.2",
|
30 | 30 | "predis/predis": "^1.1 || ^2.0",
|
31 |
| - "rector/rector": "1.2.10" |
| 31 | + "rector/rector": "2.0.0-rc3", |
| 32 | + "shipmonk/phpstan-baseline-per-identifier": "^2.0" |
32 | 33 | },
|
33 | 34 | "replace": {
|
34 | 35 | "codeigniter4/framework": "self.version"
|
|
110 | 111 | "utils/vendor/bin/php-cs-fixer fix --ansi --verbose --diff"
|
111 | 112 | ],
|
112 | 113 | "metrics": "utils/vendor/bin/phpmetrics --config=phpmetrics.json",
|
113 |
| - "phpstan:baseline": "vendor/bin/phpstan analyse --ansi --generate-baseline=phpstan-baseline.php", |
| 114 | + "phpstan:baseline": [ |
| 115 | + "bash -c \"rm -rf utils/phpstan-baseline/*.neon\"", |
| 116 | + "bash -c \"touch utils/phpstan-baseline/loader.neon\"", |
| 117 | + "phpstan analyse --ansi --generate-baseline=utils/phpstan-baseline/loader.neon", |
| 118 | + "split-phpstan-baseline utils/phpstan-baseline/loader.neon" |
| 119 | + ], |
114 | 120 | "phpstan:check": "vendor/bin/phpstan analyse --verbose --ansi",
|
115 | 121 | "sa": "@analyze",
|
116 | 122 | "style": "@cs-fix",
|
|
0 commit comments