|
18 | 18 | "require-dev": { |
19 | 19 | "phpunit/phpunit": "^10.2", |
20 | 20 | "infection/infection": "^0.29", |
21 | | - "phpstan/phpstan": "^1.10", |
| 21 | + "phpstan/phpstan": "^2.0", |
| 22 | + "thecodingmachine/phpstan-safe-rule": "^1.4", |
| 23 | + "phpstan/phpstan-strict-rules": "^2.0", |
| 24 | + "phpstan/phpstan-deprecation-rules": "^2.0", |
| 25 | + "phpstan/extension-installer": "^1.4", |
| 26 | + "shipmonk/composer-dependency-analyser": "^1.8", |
22 | 27 | "webthinx/codestyle": "^1.1" |
23 | 28 | }, |
24 | 29 | "scripts": { |
|
31 | 36 | "phpstan-next": "phpstan analyze --level max src", |
32 | 37 | "phpstan-max": "phpstan analyze --level max src", |
33 | 38 | "codestyle": "phpcs --extensions=php src tests", |
34 | | - "codestyle-fix": "phpcbf --extensions=php src tests" |
| 39 | + "codestyle-fix": "phpcbf --extensions=php src tests", |
| 40 | + "dependencies": "composer-dependency-analyser" |
35 | 41 | }, |
36 | 42 | "autoload": { |
37 | 43 | "psr-4": { |
|
46 | 52 | "config": { |
47 | 53 | "allow-plugins": { |
48 | 54 | "dealerdirect/phpcodesniffer-composer-installer": true, |
49 | | - "infection/extension-installer": true |
| 55 | + "infection/extension-installer": true, |
| 56 | + "phpstan/extension-installer": true |
50 | 57 | } |
51 | 58 | } |
52 | 59 | } |
0 commit comments