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