|
17 | 17 | } |
18 | 18 | ], |
19 | 19 | "require": { |
20 | | - "php": "^8.1", |
21 | | - "psr/http-factory": "^1.0.2", |
| 20 | + "php": "^8.2", |
| 21 | + "psr/http-factory": "^1.1", |
22 | 22 | "psr/http-message": "^1.1|^2.0", |
23 | 23 | "psr/http-server-handler": "^1.0.2", |
24 | | - "psr/log": "^2.0|^3.0", |
25 | | - "workerman/workerman": "^4.1.13" |
| 24 | + "psr/log": "^2.0|^3.0.2", |
| 25 | + "workerman/workerman": "^4.2.1" |
26 | 26 | }, |
27 | 27 | "require-dev": { |
28 | | - "blackfire/php-sdk": "^2.3.5", |
| 28 | + "blackfire/php-sdk": "^2.5.4", |
29 | 29 | "chubbyphp/chubbyphp-dev-helper": "dev-master", |
30 | | - "chubbyphp/chubbyphp-mock": "^1.7", |
31 | | - "infection/infection": "^0.27.8", |
| 30 | + "chubbyphp/chubbyphp-mock": "^1.8", |
| 31 | + "infection/infection": "^0.29.8", |
32 | 32 | "php-coveralls/php-coveralls": "^2.7", |
33 | | - "phpstan/extension-installer": "^1.3.1", |
34 | | - "phpstan/phpstan": "^1.10.45", |
35 | | - "phpunit/phpunit": "^10.4.2" |
| 33 | + "phpstan/extension-installer": "^1.4.3", |
| 34 | + "phpstan/phpstan": "^2.0.3", |
| 35 | + "phpunit/phpunit": "^11.5.0" |
36 | 36 | }, |
37 | 37 | "autoload": { |
38 | 38 | "psr-4": { "Chubbyphp\\WorkermanRequestHandler\\": "src/" } |
|
49 | 49 | }, |
50 | 50 | "extra": { |
51 | 51 | "branch-alias": { |
52 | | - "dev-master": "2.1-dev" |
| 52 | + "dev-master": "2.2-dev" |
53 | 53 | } |
54 | 54 | }, |
55 | 55 | "scripts": { |
|
64 | 64 | ], |
65 | 65 | "test:cs": "mkdir -p build && PHP_CS_FIXER_IGNORE_ENV=1 vendor/bin/php-cs-fixer fix --dry-run --stop-on-violation --cache-file=build/phpcs.cache", |
66 | 66 | "test:infection": "vendor/bin/infection --threads=$(nproc) --min-msi=100 --verbose --coverage=build/phpunit", |
67 | | - "test:integration": "vendor/bin/phpunit --testsuite=Integration --cache-result-file=build/phpunit/result.cache", |
| 67 | + "test:integration": "vendor/bin/phpunit --testsuite=Integration --cache-directory=build/phpunit", |
68 | 68 | "test:lint": "mkdir -p build && find src tests -name '*.php' -print0 | xargs -0 -n1 -P$(nproc) php -l | tee build/phplint.log", |
69 | 69 | "test:static-analysis": "mkdir -p build && bash -c 'vendor/bin/phpstan analyse src --no-progress --level=7 --error-format=junit | tee build/phpstan.junit.xml; if [ ${PIPESTATUS[0]} -ne \"0\" ]; then exit 1; fi'", |
70 | | - "test:unit": "vendor/bin/phpunit --testsuite=Unit --coverage-text --coverage-clover=build/phpunit/clover.xml --coverage-html=build/phpunit/coverage-html --coverage-xml=build/phpunit/coverage-xml --log-junit=build/phpunit/junit.xml --cache-result-file=build/phpunit/result.cache" |
| 70 | + "test:unit": "vendor/bin/phpunit --testsuite=Unit --coverage-text --coverage-clover=build/phpunit/clover.xml --coverage-html=build/phpunit/coverage-html --coverage-xml=build/phpunit/coverage-xml --log-junit=build/phpunit/junit.xml --cache-directory=build/phpunit" |
71 | 71 | } |
72 | 72 | } |
0 commit comments