Skip to content

Commit cad4f75

Browse files
authored
Add symfony 6 support (#151)
* Add symfony 6 support * Update php.yml * Update php.yml
1 parent 9e2e001 commit cad4f75

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.github/workflows/php.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
dependencies:
2323
- "lowest"
2424
- "highest"
25-
symfony-yaml: ['^3.4', '^4', '^5']
25+
symfony-yaml: ['^3.4', '^4', '^5', '^6']
2626
include:
2727
- os: "windows-latest"
2828
php: "8.0"
@@ -36,6 +36,15 @@ jobs:
3636
# symfony/yaml v5 does not run on PHP 7.1
3737
- php: '7.1'
3838
symfony-yaml: '^5'
39+
# symfony/yaml v6 does not run on PHP 7.*
40+
- php: '7.1'
41+
symfony-yaml: '^6'
42+
- php: '7.2'
43+
symfony-yaml: '^6'
44+
- php: '7.3'
45+
symfony-yaml: '^6'
46+
- php: '7.4'
47+
symfony-yaml: '^6'
3948
# symfony/yaml v3.4 is not compatible with PHP 8.0 but has no upper-bound, so it installs on it
4049
- php: '8.0'
4150
symfony-yaml: '^3.4'

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"require": {
2121
"php": ">=7.1.0",
2222
"ext-json": "*",
23-
"symfony/yaml": "^3.4 || ^4 || ^5",
23+
"symfony/yaml": "^3.4 || ^4 || ^5 || ^6",
2424
"justinrainbow/json-schema": "^5.2"
2525
},
2626
"require-dev": {
@@ -42,7 +42,7 @@
4242
},
4343
"extra": {
4444
"branch-alias": {
45-
"dev-master": "1.5.x-dev"
45+
"dev-master": "1.6.x-dev"
4646
}
4747
},
4848
"bin": [

0 commit comments

Comments
 (0)