Skip to content

Commit 02a2c68

Browse files
authored
allow Symfony 7 (#467)
1 parent 6c34e96 commit 02a2c68

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/workflows/build.yaml

+6-2
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ jobs:
4040
- description: 'Symfony 5.4'
4141
php: '8.0'
4242
symfony: 5.4.*
43+
- description: 'Symfony 7'
44+
php: '8.2'
45+
symfony: ^7.0
46+
dev: true
4347
- description: 'Dev deps'
4448
php: '8.2'
4549
dev: true
@@ -49,9 +53,9 @@ jobs:
4953
uses: actions/checkout@v3
5054
- name: Cache
5155
uses: actions/cache@v3
52-
with:
56+
with:
5357
path: ~/.composer/cache/files
54-
key: composer-${{ matrix.php }}-${{ matrix.symfony }}-${{ matrix.composer_option }}
58+
key: composer-${{ matrix.php }}-${{ matrix.symfony }}-${{ matrix.composer_option }}
5559
- name: Setup PHP
5660
uses: shivammathur/setup-php@v2
5761
with:

composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
"php": "^8.0",
2323
"knplabs/knp-menu": "^3.3",
2424
"symfony/deprecation-contracts": "^2.5 | ^3.3",
25-
"symfony/framework-bundle": "^5.4 | ^6.0"
25+
"symfony/framework-bundle": "^5.4 | ^6.0 | ^7.0"
2626
},
2727
"require-dev": {
2828
"phpunit/phpunit": "^9.6 | ^10.1",
29-
"symfony/expression-language": "^5.4 | ^6.0",
30-
"symfony/phpunit-bridge": "^6.0",
31-
"symfony/templating": "^5.4 | ^6.0"
29+
"symfony/expression-language": "^5.4 | ^6.0 | ^7.0",
30+
"symfony/phpunit-bridge": "^6.0 | ^7.0",
31+
"symfony/templating": "^5.4 | ^6.0 | ^7.0"
3232
},
3333
"autoload": {
3434
"psr-4": { "Knp\\Bundle\\MenuBundle\\": "src" }

0 commit comments

Comments
 (0)