Skip to content

Commit

Permalink
allow Symfony 7 (#467)
Browse files Browse the repository at this point in the history
  • Loading branch information
tacman authored Nov 1, 2023
1 parent 6c34e96 commit 02a2c68
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ jobs:
- description: 'Symfony 5.4'
php: '8.0'
symfony: 5.4.*
- description: 'Symfony 7'
php: '8.2'
symfony: ^7.0
dev: true
- description: 'Dev deps'
php: '8.2'
dev: true
Expand All @@ -49,9 +53,9 @@ jobs:
uses: actions/checkout@v3
- name: Cache
uses: actions/cache@v3
with:
with:
path: ~/.composer/cache/files
key: composer-${{ matrix.php }}-${{ matrix.symfony }}-${{ matrix.composer_option }}
key: composer-${{ matrix.php }}-${{ matrix.symfony }}-${{ matrix.composer_option }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
"php": "^8.0",
"knplabs/knp-menu": "^3.3",
"symfony/deprecation-contracts": "^2.5 | ^3.3",
"symfony/framework-bundle": "^5.4 | ^6.0"
"symfony/framework-bundle": "^5.4 | ^6.0 | ^7.0"
},
"require-dev": {
"phpunit/phpunit": "^9.6 | ^10.1",
"symfony/expression-language": "^5.4 | ^6.0",
"symfony/phpunit-bridge": "^6.0",
"symfony/templating": "^5.4 | ^6.0"
"symfony/expression-language": "^5.4 | ^6.0 | ^7.0",
"symfony/phpunit-bridge": "^6.0 | ^7.0",
"symfony/templating": "^5.4 | ^6.0 | ^7.0"
},
"autoload": {
"psr-4": { "Knp\\Bundle\\MenuBundle\\": "src" }
Expand Down

0 comments on commit 02a2c68

Please sign in to comment.