Skip to content

Commit f28e2aa

Browse files
Add support for symfony 8 (#316)
Co-authored-by: Christopher Georg <christopher.georg@sr-travel.de>
1 parent 55346ba commit f28e2aa

2 files changed

Lines changed: 19 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,18 @@ jobs:
3737
fail-fast: false
3838
matrix:
3939
php: [8.1, 8.2, 8.3, 8.4, 8.5]
40-
symfony: [5.4, 6.0, 7.0]
40+
symfony: [5.4, 6.0, 7.0, 8.0]
4141
exclude:
4242
- symfony: 7.0
4343
php: 8.0
4444
- symfony: 7.0
4545
php: 8.1
46+
- symfony: 8.0
47+
php: 8.1
48+
- symfony: 8.0
49+
php: 8.2
50+
- symfony: 8.0
51+
php: 8.3
4652
steps:
4753
- name: Setup PHP
4854
uses: shivammathur/setup-php@2.30.0
@@ -55,8 +61,9 @@ jobs:
5561
uses: actions/checkout@v5
5662

5763
- name: Install the dependencies
64+
env:
65+
SYMFONY_REQUIRE: ${{ matrix.symfony }}
5866
run: |
59-
composer require symfony/framework-bundle:^${{ matrix.symfony }} symfony/translation:^${{ matrix.symfony }} symfony/console:^${{ matrix.symfony }} -W
6067
composer install --no-interaction --no-suggest
6168
- name: Run the unit tests
6269
run: vendor/bin/phpunit --colors=always

composer.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
"require": {
2828
"php": "^8.1",
2929
"league/flysystem": "^2.0 || ^3.0",
30-
"symfony/config": "^5.4 || ^6.0 || ^7.0",
31-
"symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0",
32-
"symfony/http-kernel": "^5.4 || ^6.0 || ^7.0"
30+
"symfony/config": "^5.4 || ^6.0 || ^7.0 || ^8.0",
31+
"symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0 || ^8.0",
32+
"symfony/http-kernel": "^5.4 || ^6.0 || ^7.0 || ^8.0"
3333
},
3434
"require-dev": {
3535
"ext-simplexml": "*",
@@ -44,13 +44,13 @@
4444
"phpstan/phpstan": "^2.1.31",
4545
"phpunit/phpunit": "^9.6.29 || ^10.5.58 || ^11.5.43 || ^12.4.2",
4646
"royvoetman/flysystem-gitlab-storage": "^2.0 || ^3.0",
47-
"symfony/asset": "^5.4 || ^6.0 || ^7.0",
48-
"symfony/browser-kit": "^5.4 || ^6.0 || ^7.0",
49-
"symfony/finder": "^5.4 || ^6.0 || ^7.0",
50-
"symfony/framework-bundle": "^5.4 || ^6.0 || ^7.0",
51-
"symfony/phpunit-bridge": "^7.0",
52-
"symfony/translation": "^5.4 || ^6.0 || ^7.0",
53-
"symfony/yaml": "^5.4 || ^6.0 || ^7.0"
47+
"symfony/asset": "^5.4 || ^6.0 || ^7.0 || ^8.0",
48+
"symfony/browser-kit": "^5.4 || ^6.0 || ^7.0 || ^8.0",
49+
"symfony/finder": "^5.4 || ^6.0 || ^7.0 || ^8.0",
50+
"symfony/framework-bundle": "^5.4 || ^6.0 || ^7.0 || ^8.0",
51+
"symfony/phpunit-bridge": "^7.0 || ^8.0",
52+
"symfony/translation": "^5.4 || ^6.0 || ^7.0 || ^8.0",
53+
"symfony/yaml": "^5.4 || ^6.0 || ^7.0 || ^8.0"
5454
},
5555
"suggest": {
5656
"ext-fileinfo": "Required for MimeType",

0 commit comments

Comments
 (0)