Skip to content

Commit 410d0b8

Browse files
Add support for Symfony 8
1 parent 9b3eb5b commit 410d0b8

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
- name: Checkout
2626
uses: actions/checkout@v2
27-
27+
2828
- name: Run the CS fixer
2929
run: php-cs-fixer fix
3030

@@ -35,7 +35,7 @@ jobs:
3535
strategy:
3636
fail-fast: false
3737
matrix:
38-
php: ['8.0', '8.1', '8.2', '8.3']
38+
php: ['8.0', '8.1', '8.2', '8.3', '8.4']
3939
steps:
4040
- name: Setup PHP
4141
uses: shivammathur/setup-php@v2
@@ -47,6 +47,10 @@ jobs:
4747
- name: Checkout
4848
uses: actions/checkout@v2
4949

50+
- name: Set composer stability
51+
if: ${{ matrix.php == '8.4' }}
52+
run: composer config minimum-stability ${{ matrix.composer-stability }}
53+
5054
- name: Install the dependencies
5155
run: composer install --no-interaction --no-suggest
5256

@@ -60,7 +64,7 @@ jobs:
6064
strategy:
6165
fail-fast: false
6266
matrix:
63-
php: ['8.0', '8.1', '8.2', '8.3']
67+
php: ['8.0', '8.1', '8.2', '8.3', '8.4']
6468
steps:
6569
- name: Setup PHP
6670
uses: shivammathur/setup-php@v2

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
],
1212
"require": {
1313
"php": "^8.0",
14-
"symfony/lock": "^6.0 || ^7.0",
15-
"symfony/cache": "^6.0 || ^7.0",
16-
"symfony/http-foundation": "^6.0 || ^7.0",
17-
"symfony/http-kernel": "^6.0 || ^7.0",
18-
"symfony/options-resolver": "^6.0 || ^7.0"
14+
"symfony/lock": "^6.0 || ^7.0 || ^8.0",
15+
"symfony/cache": "^6.0 || ^7.0 || ^8.0",
16+
"symfony/http-foundation": "^6.0 || ^7.0 || ^8.0",
17+
"symfony/http-kernel": "^6.0 || ^7.0 || ^8.0",
18+
"symfony/options-resolver": "^6.0 || ^7.0 || ^8.0"
1919
},
2020
"require-dev": {
21-
"symfony/phpunit-bridge": "^6.0 || ^7.0"
21+
"symfony/phpunit-bridge": "^6.0 || ^7.0 || ^8.0"
2222
},
2323
"autoload": {
2424
"psr-4": {

0 commit comments

Comments
 (0)