Skip to content

Commit b37a6ee

Browse files
authored
Merge pull request #597 from alexander-schranz/feature/symfony-8-upgrade
Add support for Symfony 8
2 parents 70b52ee + bc6c1c0 commit b37a6ee

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.github/workflows/ci.yml

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

4143
steps:
4244
- name: Setup PHP
@@ -67,6 +69,11 @@ jobs:
6769
path: vendor
6870
key: ${{ runner.os }}-vendor-php-${{ matrix.php }}
6971

72+
73+
- name: Set composer stability
74+
if: ${{ matrix.composer-stability }}
75+
run: composer config minimum-stability ${{ matrix.composer-stability }}
76+
7077
- name: Install composer dependencies
7178
env:
7279
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)