|
17 | 17 | } |
18 | 18 | ], |
19 | 19 | "require": { |
20 | | - "php": "^8.0", |
21 | | - "psr/http-factory": "^1.0.1", |
22 | | - "psr/http-message": "^1.0.1|^2.0", |
23 | | - "psr/http-server-handler": "^1.0.1", |
24 | | - "psr/log": "^1.1.4|^2.0|^3.0", |
25 | | - "workerman/workerman": "^4.0.30" |
| 20 | + "php": "^8.1", |
| 21 | + "psr/http-factory": "^1.0.2", |
| 22 | + "psr/http-message": "^1.1|^2.0", |
| 23 | + "psr/http-server-handler": "^1.0.2", |
| 24 | + "psr/log": "^2.0|^3.0", |
| 25 | + "workerman/workerman": "^4.1.13" |
26 | 26 | }, |
27 | 27 | "require-dev": { |
28 | | - "blackfire/php-sdk": "^1.29", |
| 28 | + "blackfire/php-sdk": "^2.3.5", |
29 | 29 | "chubbyphp/chubbyphp-dev-helper": "dev-master", |
30 | | - "chubbyphp/chubbyphp-mock": "^1.6.1", |
31 | | - "infection/infection": "^0.26.5", |
32 | | - "php-coveralls/php-coveralls": "^2.5.2", |
33 | | - "phploc/phploc": "^7.0.2", |
34 | | - "phpstan/extension-installer": "^1.1", |
35 | | - "phpstan/phpstan": "^1.4.8", |
36 | | - "phpunit/phpunit": "^9.5.17" |
| 30 | + "chubbyphp/chubbyphp-mock": "^1.7", |
| 31 | + "infection/infection": "^0.27.8", |
| 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" |
37 | 36 | }, |
38 | 37 | "autoload": { |
39 | 38 | "psr-4": { "Chubbyphp\\WorkermanRequestHandler\\": "src/" } |
|
50 | 49 | }, |
51 | 50 | "extra": { |
52 | 51 | "branch-alias": { |
53 | | - "dev-master": "2.0-dev" |
| 52 | + "dev-master": "2.1-dev" |
54 | 53 | } |
55 | 54 | }, |
56 | 55 | "scripts": { |
|
61 | 60 | "@test:integration", |
62 | 61 | "@test:infection", |
63 | 62 | "@test:static-analysis", |
64 | | - "@test:loc", |
65 | 63 | "@test:cs" |
66 | 64 | ], |
67 | 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", |
68 | 66 | "test:infection": "vendor/bin/infection --threads=$(nproc) --min-msi=100 --verbose --coverage=build/phpunit", |
69 | 67 | "test:integration": "vendor/bin/phpunit --testsuite=Integration --cache-result-file=build/phpunit/result.cache", |
70 | 68 | "test:lint": "mkdir -p build && find src tests -name '*.php' -print0 | xargs -0 -n1 -P$(nproc) php -l | tee build/phplint.log", |
71 | | - "test:loc": "mkdir -p build && vendor/bin/phploc src | tee build/phploc.log", |
72 | 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'", |
73 | 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" |
74 | 71 | } |
|
0 commit comments