Skip to content

Commit 618e5bf

Browse files
Allow Symfony 6, support Symfony 5
1 parent 40eb4d5 commit 618e5bf

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

.github/workflows/tests.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
-
1919
name: "Code style"
2020
run: vendor/bin/ecs check --ansi
21-
21+
dependencies: ["lowest", "highest"]
2222
name: ${{ matrix.actions.name }}
2323
runs-on: ubuntu-latest
2424

@@ -33,5 +33,7 @@ jobs:
3333

3434
# composer install cache - https://github.com/ramsey/composer-install
3535
- uses: "ramsey/composer-install@v1"
36+
with:
37+
dependency-versions: "${{ matrix.dependencies }}"
3638

3739
- run: ${{ matrix.actions.run }}

composer.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,18 @@
2424
},
2525
"require": {
2626
"php": ">=8.0",
27-
"symfony/form": "~5.0",
28-
"symfony/console": "~5.0",
29-
"symfony/translation": "~5.0"
27+
"symfony/form": "~5.0 || ~6.0",
28+
"symfony/console": "~5.0 || ~6.0",
29+
"symfony/translation": "~5.0 || ~6.0"
3030
},
3131
"require-dev": {
3232
"beberlei/assert": "~2.1",
3333
"behat/behat": "^3.6",
34-
"symfony/finder": "~5.0",
35-
"symfony/framework-bundle": "~5.0",
36-
"symfony/validator": "~5.0",
37-
"symfony/yaml": "~5.0",
38-
"symfony/security-csrf": "~5.0",
34+
"symfony/finder": "~5 || ~6.0.0",
35+
"symfony/framework-bundle": "~5.0 || ~6.0",
36+
"symfony/validator": "~5.0 || ~6.0",
37+
"symfony/yaml": "~5.0 || ~6.0",
38+
"symfony/security-csrf": "~5.0 || ~6.0",
3939
"phpunit/phpunit": "^9.5",
4040
"symplify/easy-coding-standard": "^9.4",
4141
"symplify/coding-standard": "^9.4"

features/non-interactive.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Feature: It is possible to interactively fill in a form from the CLI
4646
And the output should contain
4747
"""
4848
Invalid data provided: color:
49-
ERROR: This value is not valid.
49+
ERROR:
5050
"""
5151
And the output should contain
5252
"""

0 commit comments

Comments
 (0)