Skip to content

Commit

Permalink
Add support for Symfony 7 (#566)
Browse files Browse the repository at this point in the history
* adding support for symfony 7

* fix double-quotes to simple-quotes
  • Loading branch information
octoseth authored Dec 10, 2023
1 parent 5177edb commit ba5abdb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,16 @@ jobs:
strategy:
matrix:
php: ['7.4', '8.0', '8.1', '8.2']
symfony: ['4', '5', '6']
symfony: ['4', '5', '6', '7']
exclude:
- php: '7.4'
symfony: '6'
- php: '7.4'
symfony: '7'
- php: '8.0'
symfony: '7'
- php: '8.1'
symfony: '7'

steps:
- name: Checkout Code
Expand Down Expand Up @@ -57,6 +63,14 @@ jobs:
command: composer require "symfony/filesystem:^6.0" "symfony/process:^6.0" "symfony/var-dumper:^6.0" --dev --no-update --no-interaction
if: "matrix.symfony == '6'"

- name: Select Symfony 7
uses: nick-invision/retry@v1
with:
timeout_minutes: 5
max_attempts: 5
command: composer require "symfony/filesystem:^7.0" "symfony/process:^7.0" "symfony/var-dumper:^7.0" --dev --no-update --no-interaction
if: "matrix.symfony == '7'"

- name: Install Dependencies
uses: nick-invision/retry@v1
with:
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
"evenement/evenement": "^3.0.1",
"monolog/monolog": "^1.27.1 || ^2.8 || ^3.2",
"psr/log": "^1.1 || ^2.0 || ^3.0",
"symfony/filesystem": "^4.4 || ^5.0 || ^6.0",
"symfony/filesystem": "^4.4 || ^5.0 || ^6.0 || ^7.0",
"symfony/polyfill-mbstring": "^1.26",
"symfony/process": "^4.4 || ^5.0 || ^6.0"
"symfony/process": "^4.4 || ^5.0 || ^6.0 || ^7.0"
},
"require-dev":{
"bamarni/composer-bin-plugin": "^1.8.2",
"phpunit/phpunit": "^9.6.3 || ^10.0.12",
"symfony/var-dumper": "^4.4 || ^5.0 || ^6.0"
"symfony/var-dumper": "^4.4 || ^5.0 || ^6.0 || ^7.0"
},
"autoload":{
"psr-4" : {
Expand Down

0 comments on commit ba5abdb

Please sign in to comment.