Skip to content

Commit ce04e96

Browse files
committed
Add support for Symfony 8
1 parent e24912e commit ce04e96

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.github/workflows/test-application.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,15 @@ 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.3'
30+
symfony-version: '8.*'
2631

2732
steps:
2833
- name: Checkout project
@@ -32,7 +37,11 @@ jobs:
3237
uses: shivammathur/setup-php@v2
3338
with:
3439
php-version: ${{ matrix.php-version }}
35-
tools: 'composer:v2'
40+
tools: 'composer:v2, flex'
41+
42+
- name: Symfony version
43+
if: matrix.symfony-version != '*'
44+
run: composer config extra.symfony.require ${{ matrix.symfony-version }}
3645

3746
- name: Allow unstable dependencies
3847
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)