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