|
14 | 14 | } |
15 | 15 | ], |
16 | 16 | "require": { |
17 | | - "php": "^8.1", |
18 | | - "psr/http-factory": "^1.0.2", |
| 17 | + "php": "^8.2", |
| 18 | + "psr/http-factory": "^1.1", |
19 | 19 | "psr/http-message": "^1.1|^2.0", |
20 | 20 | "psr/http-server-handler": "^1.0.2", |
21 | 21 | "psr/http-server-middleware": "^1.0.2" |
22 | 22 | }, |
23 | 23 | "require-dev": { |
24 | 24 | "chubbyphp/chubbyphp-dev-helper": "dev-master", |
25 | | - "chubbyphp/chubbyphp-mock": "^1.7", |
26 | | - "infection/infection": "^0.27.8", |
| 25 | + "chubbyphp/chubbyphp-mock": "^1.8", |
| 26 | + "infection/infection": "^0.29.8", |
27 | 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" |
| 28 | + "phpstan/extension-installer": "^1.4.3", |
| 29 | + "phpstan/phpstan": "^2.0.3", |
| 30 | + "phpunit/phpunit": "^11.5.0" |
31 | 31 | }, |
32 | 32 | "autoload": { |
33 | 33 | "psr-4": { "Chubbyphp\\StaticFile\\": "src/" } |
|
44 | 44 | }, |
45 | 45 | "extra": { |
46 | 46 | "branch-alias": { |
47 | | - "dev-master": "1.3-dev" |
| 47 | + "dev-master": "1.4-dev" |
48 | 48 | } |
49 | 49 | }, |
50 | 50 | "scripts": { |
|
59 | 59 | ], |
60 | 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", |
61 | 61 | "test:infection": "vendor/bin/infection --threads=$(nproc) --min-msi=90 --verbose --coverage=build/phpunit", |
62 | | - "test:integration": "vendor/bin/phpunit --testsuite=Integration --cache-result-file=build/phpunit/result.cache", |
| 62 | + "test:integration": "vendor/bin/phpunit --testsuite=Integration --cache-directory=build/phpunit", |
63 | 63 | "test:lint": "mkdir -p build && find src tests -name '*.php' -print0 | xargs -0 -n1 -P$(nproc) php -l | tee build/phplint.log", |
64 | 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'", |
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" |
| 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-directory=build/phpunit" |
66 | 66 | } |
67 | 67 | } |
0 commit comments