|
14 | 14 | } |
15 | 15 | ], |
16 | 16 | "require": { |
17 | | - "php": "^8.0", |
18 | | - "psr/http-factory": "^1.0.1", |
19 | | - "psr/http-message": "^1.0.1", |
20 | | - "psr/http-server-handler": "^1.0.1", |
21 | | - "psr/http-server-middleware": "^1.0.1" |
| 17 | + "php": "^8.1", |
| 18 | + "psr/http-factory": "^1.0.2", |
| 19 | + "psr/http-message": "^1.1|^2.0", |
| 20 | + "psr/http-server-handler": "^1.0.2", |
| 21 | + "psr/http-server-middleware": "^1.0.2" |
22 | 22 | }, |
23 | 23 | "require-dev": { |
24 | 24 | "chubbyphp/chubbyphp-dev-helper": "dev-master", |
25 | 25 | "chubbyphp/chubbyphp-mock": "^1.6.1", |
26 | | - "infection/infection": "^0.26.5", |
27 | | - "php-coveralls/php-coveralls": "^2.5.2", |
28 | | - "phploc/phploc": "^7.0.2", |
29 | | - "phpstan/extension-installer": "^1.1", |
30 | | - "phpstan/phpstan": "^1.4.8", |
31 | | - "phpunit/phpunit": "^9.5.17" |
| 26 | + "infection/infection": "^0.27.8", |
| 27 | + "php-coveralls/php-coveralls": "^2.7.0", |
| 28 | + "phpstan/extension-installer": "^1.3.1", |
| 29 | + "phpstan/phpstan": "^1.10.45", |
| 30 | + "phpunit/phpunit": "^10.4.2" |
32 | 31 | }, |
33 | 32 | "autoload": { |
34 | 33 | "psr-4": { "Chubbyphp\\StaticFile\\": "src/" } |
|
45 | 44 | }, |
46 | 45 | "extra": { |
47 | 46 | "branch-alias": { |
48 | | - "dev-master": "1.2-dev" |
| 47 | + "dev-master": "1.3-dev" |
49 | 48 | } |
50 | 49 | }, |
51 | 50 | "scripts": { |
|
56 | 55 | "@test:integration", |
57 | 56 | "@test:infection", |
58 | 57 | "@test:static-analysis", |
59 | | - "@test:loc", |
60 | 58 | "@test:cs" |
61 | 59 | ], |
62 | 60 | "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", |
63 | | - "test:infection": "vendor/bin/infection --threads=$(nproc) --min-msi=88 --verbose --coverage=build/phpunit", |
| 61 | + "test:infection": "vendor/bin/infection --threads=$(nproc) --min-msi=90 --verbose --coverage=build/phpunit", |
64 | 62 | "test:integration": "vendor/bin/phpunit --testsuite=Integration --cache-result-file=build/phpunit/result.cache", |
65 | 63 | "test:lint": "mkdir -p build && find src tests -name '*.php' -print0 | xargs -0 -n1 -P$(nproc) php -l | tee build/phplint.log", |
66 | | - "test:loc": "mkdir -p build && vendor/bin/phploc src | tee build/phploc.log", |
67 | 64 | "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'", |
68 | 65 | "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" |
69 | 66 | } |
|
0 commit comments