|
17 | 17 | } |
18 | 18 | ], |
19 | 19 | "require": { |
20 | | - "php": "^8.1", |
21 | | - "ext-swoole": "^5.1.1", |
| 20 | + "php": "^8.2", |
| 21 | + "ext-swoole": "^5.1.6|6.0.0-RC1|^6.0", |
22 | 22 | "dflydev/fig-cookies": "^3.1", |
23 | | - "psr/http-factory": "^1.0.2", |
| 23 | + "psr/http-factory": "^1.1", |
24 | 24 | "psr/http-message": "^1.1|^2.0", |
25 | 25 | "psr/http-server-handler": "^1.0.2", |
26 | | - "psr/log": "^2.0|^3.0" |
| 26 | + "psr/log": "^2.0|^3.0.2" |
27 | 27 | }, |
28 | 28 | "require-dev": { |
29 | | - "blackfire/php-sdk": "^2.3.5", |
| 29 | + "blackfire/php-sdk": "^2.5.4", |
30 | 30 | "chubbyphp/chubbyphp-dev-helper": "dev-master", |
31 | | - "chubbyphp/chubbyphp-mock": "^1.7", |
32 | | - "infection/infection": "^0.27.8", |
| 31 | + "chubbyphp/chubbyphp-mock": "^1.8", |
| 32 | + "infection/infection": "^0.29.8", |
33 | 33 | "php-coveralls/php-coveralls": "^2.7", |
34 | | - "phpstan/extension-installer": "^1.3.1", |
35 | | - "phpstan/phpstan": "^1.10.45", |
36 | | - "phpunit/phpunit": "^10.4.2", |
37 | | - "swoole/ide-helper": "^5.1" |
| 34 | + "phpstan/extension-installer": "^1.4.3", |
| 35 | + "phpstan/phpstan": "^2.0.3", |
| 36 | + "phpunit/phpunit": "^11.5.0", |
| 37 | + "swoole/ide-helper": "^5.1.6|^6.0.0-RC1|^6.0" |
38 | 38 | }, |
39 | 39 | "autoload": { |
40 | 40 | "psr-4": { |
|
55 | 55 | }, |
56 | 56 | "extra": { |
57 | 57 | "branch-alias": { |
58 | | - "dev-master": "1.4-dev" |
| 58 | + "dev-master": "1.5-dev" |
59 | 59 | } |
60 | 60 | }, |
61 | 61 | "scripts": { |
|
69 | 69 | "@test:cs" |
70 | 70 | ], |
71 | 71 | "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", |
72 | | - "test:infection": "vendor/bin/infection --threads=$(nproc) --min-msi=100 --verbose --coverage=build/phpunit", |
73 | | - "test:integration": "vendor/bin/phpunit --testsuite=Integration --cache-result-file=build/phpunit/result.cache", |
| 72 | + "test:infection": "vendor/bin/infection --threads=$(nproc) --min-msi=96 --verbose --coverage=build/phpunit", |
| 73 | + "test:integration": "vendor/bin/phpunit --testsuite=Integration --cache-directory=build/phpunit", |
74 | 74 | "test:lint": "mkdir -p build && find src tests -name '*.php' -print0 | xargs -0 -n1 -P$(nproc) php -l | tee build/phplint.log", |
75 | 75 | "test:static-analysis": "mkdir -p build && bash -c 'vendor/bin/phpstan analyse src --no-progress --level=8 --error-format=junit | tee build/phpstan.junit.xml; if [ ${PIPESTATUS[0]} -ne \"0\" ]; then exit 1; fi'", |
76 | | - "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" |
| 76 | + "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" |
77 | 77 | } |
78 | 78 | } |
0 commit comments