Skip to content

Commit 08f88c1

Browse files
committed
Add support for Symfony 8
1 parent 95728ed commit 08f88c1

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/test-application.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,17 @@ jobs:
1919
include:
2020
- php-version: '8.0'
2121
dependencies: 'lowest'
22+
symfony-version: '*'
2223
- php-version: '8.1'
24+
symfony-version: '7.*'
2325
- php-version: '8.2'
26+
symfony-version: '7.*'
2427
- php-version: '8.3'
28+
symfony-version: '7.*'
2529
- php-version: '8.4'
30+
symfony-version: '8.*'
2631
- php-version: '8.5'
32+
symfony-version: '8.*'
2733

2834
steps:
2935
- name: Checkout project
@@ -33,7 +39,11 @@ jobs:
3339
uses: shivammathur/setup-php@v2
3440
with:
3541
php-version: ${{ matrix.php-version }}
36-
tools: 'composer:v2'
42+
tools: 'composer:v2, flex'
43+
44+
- name: Symfony version
45+
if: matrix.symfony-version != '*'
46+
run: composer config extra.symfony.require ${{ matrix.symfony-version }}
3747

3848
- name: Allow unstable dependencies
3949
if: matrix.dev-dependencies == true

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"require": {
3030
"php": "^8.0",
3131
"phpcr/phpcr": "~2.1.0",
32-
"symfony/console": "^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0"
32+
"symfony/console": "^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0"
3333
},
3434
"require-dev": {
3535
"ramsey/uuid": "^3.5",

0 commit comments

Comments
 (0)