|
27 | 27 | }
|
28 | 28 | },
|
29 | 29 | "require": {
|
30 |
| - "php": ">=8.0", |
| 30 | + "php": ">=8.1", |
31 | 31 | "amphp/amp": "v2.6.*",
|
32 | 32 | "amphp/file": "v2.0.*",
|
33 | 33 | "amphp/redis": "v1.0.*"
|
34 | 34 | },
|
35 | 35 | "require-dev": {
|
36 | 36 | "php-service-bus/code-style-config": "v5.1.*",
|
37 | 37 | "phpunit/phpunit": "v9.5.*",
|
38 |
| - "vimeo/psalm": "v4.12.*", |
39 |
| - "phpstan/phpstan": "v1.1.*" |
| 38 | + "vimeo/psalm": "v4.13.*", |
| 39 | + "phpstan/phpstan": "v1.2.*", |
| 40 | + "boesing/psalm-plugin-stringf": "v1.1.*" |
40 | 41 | },
|
41 | 42 | "prefer-stable": true,
|
42 |
| - "minimum-stability": "dev", |
| 43 | + "minimum-stability": "stable", |
43 | 44 | "scripts": {
|
44 | 45 | "psalm": "rm -rf ~/.cache/psalm/ && ./vendor/bin/psalm --config=psalm.xml",
|
45 |
| - "phpstan": "./vendor/bin/phpstan analyse src --level 7", |
| 46 | + "phpstan": "./vendor/bin/phpstan analyse src --level 9", |
46 | 47 | "tests": "./vendor/bin/phpunit --configuration phpunit.xml --verbose --debug",
|
47 | 48 | "coverage": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --configuration phpunit.xml --coverage-html ./coverage --verbose --debug",
|
48 | 49 | "cs-check": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --allow-risky=yes --dry-run",
|
49 | 50 | "cs-fix": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --allow-risky=yes",
|
50 |
| - "pre-commit": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --allow-risky=yes && ./vendor/bin/psalm --config=psalm.xml && ./vendor/bin/phpstan analyse src --level 7 && ./vendor/bin/phpunit --configuration phpunit.xml --verbose" |
| 51 | + "pre-commit": "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --allow-risky=yes && ./vendor/bin/psalm --config=psalm.xml && ./vendor/bin/phpstan analyse src --level 9 && ./vendor/bin/phpunit --configuration phpunit.xml --verbose" |
51 | 52 | },
|
52 | 53 | "config": {
|
53 | 54 | "optimize-autoloader": true
|
|
0 commit comments