Skip to content

Commit 1f01c44

Browse files
Add support for Symfony 8
1 parent 70b52ee commit 1f01c44

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ jobs:
3737
varnish-modules-version: '0.20.0'
3838
- php: '8.4'
3939
symfony-version: '7.*'
40+
- php: '8.4'
41+
symfony-version: '8.*'
42+
composer-stability: 'dev'
4043

4144
steps:
4245
- name: Setup PHP
@@ -67,6 +70,11 @@ jobs:
6770
path: vendor
6871
key: ${{ runner.os }}-vendor-php-${{ matrix.php }}
6972

73+
74+
- name: Set composer stability
75+
if: ${{ matrix.composer-stability }}
76+
run: composer config minimum-stability ${{ matrix.composer-stability }}
77+
7078
- name: Install composer dependencies
7179
env:
7280
SYMFONY_REQUIRE: ${{ matrix.symfony-version }}

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
],
2323
"require": {
2424
"php": "^8.1",
25-
"symfony/event-dispatcher": "^6.4 || ^7.0",
26-
"symfony/options-resolver": "^6.4 || ^7.0",
25+
"symfony/event-dispatcher": "^6.4 || ^7.0 || ^8.0",
26+
"symfony/options-resolver": "^6.4 || ^7.0 || ^8.0",
2727
"php-http/client-common": "^1.1.0 || ^2.0",
2828
"php-http/discovery": "^1.12",
2929
"php-http/async-client-implementation": "^1.1.0 || ^2.0",
@@ -35,8 +35,8 @@
3535
"monolog/monolog": "^1.0",
3636
"php-http/guzzle7-adapter": "^1",
3737
"php-http/mock-client": "^1.6.0",
38-
"symfony/process": "^6.4|| ^7.0",
39-
"symfony/http-kernel": "^6.4|| ^7.0",
38+
"symfony/process": "^6.4|| ^7.0 || ^8.0",
39+
"symfony/http-kernel": "^6.4|| ^7.0 || ^8.0",
4040
"phpunit/phpunit": "^10.5"
4141
},
4242
"conflict": {

0 commit comments

Comments
 (0)