Skip to content

Commit efdf3ed

Browse files
committed
Add support for Symfony 6.0
1 parent abfe041 commit efdf3ed

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
- php: '7.2'
2525
symfony: '4.4.*'
2626
dependency: 'lowest'
27+
- php: '8.0'
28+
symfony: '6.0.*'
2729
fail-fast: false
2830
steps:
2931
- name: Checkout
@@ -36,6 +38,12 @@ jobs:
3638
extensions: pcov
3739
tools: flex
3840

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

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
"require": {
1616
"php": "^7.2 || ^8.0",
1717
"matthiasnoback/symfony-config-test": "^4.0.1",
18-
"symfony/dependency-injection": "^4.4 || ^5.3",
19-
"symfony/config": "^4.4 || ^5.3",
20-
"symfony/yaml": "^4.4 || ^5.3"
18+
"symfony/dependency-injection": "^4.4 || ^5.3 || ^6.0",
19+
"symfony/config": "^4.4 || ^5.3 || ^6.0",
20+
"symfony/yaml": "^4.4 || ^5.3 || ^6.0"
2121
},
2222
"require-dev": {
23-
"phpunit/phpunit": "^8.0"
23+
"phpunit/phpunit": "^8.0 || ^9.0"
2424
},
2525
"conflict": {
2626
"phpunit/phpunit": "<8.0"

0 commit comments

Comments
 (0)