Skip to content

Commit c6d2afe

Browse files
committed
Add support for Symfony 6.0
1 parent 89e0508 commit c6d2afe

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
- php: '7.1'
2323
symfony: '4.4.*'
2424
dependency: 'lowest'
25+
- php: '8.0'
26+
symfony: '6.0.*'
2527
exclude:
2628
- php: '7.1'
2729
symfony: '5.3.*'
@@ -37,6 +39,12 @@ jobs:
3739
extensions: pcov
3840
tools: flex
3941

42+
- name: Prefer unstable Composer dependencies for Symfony 6.0
43+
if: matrix.symfony == '6.0.*'
44+
run: |
45+
composer config prefer-stable false
46+
composer config minimum-stability dev
47+
4048
- name: Get Composer Cache Directory
4149
id: composer-cache
4250
run: echo "::set-output name=dir::$(composer config cache-files-dir)"

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
],
1515
"require": {
1616
"php": "^7.1 || ^8.0",
17-
"symfony/config": "^4.4 || ^5.3"
17+
"symfony/config": "^4.4 || ^5.3 || ^6.0"
1818
},
1919
"require-dev": {
2020
"phpunit/phpunit": "^7.0 || ^8.0 || ^9.0"

0 commit comments

Comments
 (0)