Skip to content

Commit ff06ef9

Browse files
committed
build(dependencies): update Symfony options-resolver and other dev dependencies
- Bump symfony/options-resolver to support version 8.0 - Update composer/composer to version 2.9 - Upgrade ergebnis/rector-rules to version 1.7 - Adjust pestphp/pest-plugin-faker and php-mock/php-mock-phpunit versions - Add psr/simple-cache-implementation to provide section Signed-off-by: guanguans <ityaozm@gmail.com>
1 parent 52813aa commit ff06ef9

File tree

2 files changed

+17
-11
lines changed

2 files changed

+17
-11
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
fail-fast: false
1010
matrix:
1111
os: [ ubuntu-latest ]
12-
php: [ 8.0, 8.1, 8.2, 8.3, 8.4 ]
12+
php: [ 8.0, 8.1, 8.2, 8.3, 8.4, 8.5 ]
1313
dependency-version: [ prefer-stable ]
1414

1515
name: P${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}

composer.json

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -81,23 +81,23 @@
8181
"guzzlehttp/guzzle": "^7.10",
8282
"guzzlehttp/uri-template": "^1.0",
8383
"psr/simple-cache": "^1.0 || ^2.0 || ^3.0",
84-
"symfony/options-resolver": "^5.4 || ^6.0 || ^7.0"
84+
"symfony/options-resolver": "^5.4 || ^6.0 || ^7.0 || ^8.0"
8585
},
8686
"require-dev": {
8787
"bamarni/composer-bin-plugin": "^1.8",
8888
"brainmaestro/composer-git-hooks": "^3.0",
89-
"composer/composer": "^2.8",
89+
"composer/composer": "^2.9",
9090
"ergebnis/composer-normalize": "^2.48",
9191
"ergebnis/license": "^2.7",
9292
"ergebnis/php-cs-fixer-config": "dev-main",
93-
"ergebnis/rector-rules": "^1.6",
93+
"ergebnis/rector-rules": "^1.7",
9494
"guanguans/monorepo-builder-worker": "^2.1",
9595
"illuminate/collections": "^9.52 || ^10.0 || ^11.0 || ^12.0",
9696
"illuminate/support": "^9.52 || ^10.0 || ^11.0 || ^12.0",
9797
"mockery/mockery": "^1.6",
9898
"pestphp/pest": "^1.23 || ^2.0 || ^3.0 || ^4.0",
99-
"pestphp/pest-plugin-faker": "^1.0",
100-
"php-mock/php-mock-phpunit": "^2.13",
99+
"pestphp/pest-plugin-faker": "^1.0 || ^2.0 || ^3.0 || ^4.0",
100+
"php-mock/php-mock-phpunit": "^2.14",
101101
"phpbench/phpbench": "^1.2",
102102
"phpstan/extension-installer": "^1.4",
103103
"phpstan/phpstan": "^2.1",
@@ -110,14 +110,20 @@
110110
"shipmonk/composer-dependency-analyser": "^1.8",
111111
"shipmonk/phpstan-baseline-per-identifier": "^2.2",
112112
"spaze/phpstan-disallowed-calls": "^4.7",
113-
"symfony/var-dumper": "^6.0 || ^7.0",
114-
"symfony/yaml": "^6.0 || ^7.0",
113+
"symfony/var-dumper": "^6.0 || ^7.0 || ^8.0",
114+
"symfony/yaml": "^6.0 || ^7.0 || ^8.0",
115115
"symplify/phpstan-extensions": "^12.0",
116-
"symplify/phpstan-rules": "^14.8",
117-
"tomasvotruba/class-leak": "^2.0",
116+
"symplify/phpstan-rules": "^14.9",
117+
"tomasvotruba/class-leak": "^2.1",
118118
"tomasvotruba/type-coverage": "^2.0",
119119
"yamadashy/phpstan-friendly-formatter": "^1.2"
120120
},
121+
"conflict": {
122+
"pestphp/pest": "^4.0"
123+
},
124+
"provide": {
125+
"psr/simple-cache-implementation": "*"
126+
},
121127
"suggest": {
122128
"illuminate/collections": "Required to use the method [Response::collect()].",
123129
"illuminate/support": "Required to use the method [Response::fluent()].",
@@ -244,7 +250,7 @@
244250
"normalized-dry-run": "@normalized --dry-run",
245251
"peck": "/opt/homebrew/opt/php@8.3/bin/php ./vendor/bin/peck check --path=src/ --config=peck.json --ansi -v",
246252
"peck-init": "@peck --init",
247-
"pest": "@php ./vendor/bin/pest --coverage",
253+
"pest": "@php ./vendor/bin/pest --colors=always --coverage",
248254
"pest-coverage": "@pest --coverage-html=./.build/phpunit/ --coverage-clover=./.build/phpunit/clover.xml",
249255
"pest-highest": [
250256
"@putenvs",

0 commit comments

Comments
 (0)