Skip to content

Commit

Permalink
Merge pull request #14 from MacPaw/addSupportSymfony7
Browse files Browse the repository at this point in the history
Add support symfony 7
  • Loading branch information
Yozhef authored Feb 6, 2024
2 parents 587e409 + cc1d13a commit b6fd441
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ jobs:
- '5.4.*'
- '6.0.*'
- '6.2.*'
- '7.0.*'
exclude:
- php: '8.1'
symfony-versions: '7.0.*'
include:
- php: '7.4'
symfony-versions: '^4.4'
Expand All @@ -34,7 +38,7 @@ jobs:
- description: 'Log Code Coverage'
php: '8.2'
coverage: 'xdebug'
symfony-versions: '^6.2'
symfony-versions: '^7.0'

name: PHP ${{ matrix.php }} Symfony ${{ matrix.symfony-versions }} ${{ matrix.description }}
steps:
Expand Down Expand Up @@ -69,6 +73,7 @@ jobs:
- name: Update Symfony version
if: matrix.symfony-versions != ''
run: |
composer require symfony/config:${{ matrix.symfony-versions }} --no-update --no-scripts
composer require symfony/http-client:${{ matrix.symfony-versions }} --no-update --no-scripts
composer require symfony/dependency-injection:${{ matrix.symfony-versions }} --no-update --no-scripts
composer require symfony/http-kernel:${{ matrix.symfony-versions }} --no-update --no-scripts
Expand Down
9 changes: 5 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@
"ext-json": "*",
"php": "^7.4 || ^8.0",
"behat/behat": "^3.0",
"symfony/dependency-injection": "^4.4 || ^5.4 || ^6.0",
"symfony/http-client": "^4.4 || ^5.4 || ^6.0",
"symfony/http-kernel": "^4.4 || ^5.4 || ^6.0",
"symfony/routing": "^4.4 || ^5.4 || ^6.0",
"symfony/config": "^4.4 || ^5.4 || ^6.0 || ^7.0",
"symfony/dependency-injection": "^4.4 || ^5.4.34 || ^6.0 || ^7.0.2",
"symfony/http-client": "^4.4 || ^5.4 || ^6.0 || ^7.0",
"symfony/http-kernel": "^4.4 || ^5.4 || ^6.0 || ^7.0",
"symfony/routing": "^4.4 || ^5.4 || ^6.0 || ^7.0",
"macpaw/similar-arrays": "^1.0"
},
"require-dev": {
Expand Down

0 comments on commit b6fd441

Please sign in to comment.