Skip to content

Commit ba5abdb

Browse files
authored
Add support for Symfony 7 (#566)
* adding support for symfony 7 * fix double-quotes to simple-quotes
1 parent 5177edb commit ba5abdb

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

.github/workflows/tests.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,16 @@ jobs:
1212
strategy:
1313
matrix:
1414
php: ['7.4', '8.0', '8.1', '8.2']
15-
symfony: ['4', '5', '6']
15+
symfony: ['4', '5', '6', '7']
1616
exclude:
1717
- php: '7.4'
1818
symfony: '6'
19+
- php: '7.4'
20+
symfony: '7'
21+
- php: '8.0'
22+
symfony: '7'
23+
- php: '8.1'
24+
symfony: '7'
1925

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

66+
- name: Select Symfony 7
67+
uses: nick-invision/retry@v1
68+
with:
69+
timeout_minutes: 5
70+
max_attempts: 5
71+
command: composer require "symfony/filesystem:^7.0" "symfony/process:^7.0" "symfony/var-dumper:^7.0" --dev --no-update --no-interaction
72+
if: "matrix.symfony == '7'"
73+
6074
- name: Install Dependencies
6175
uses: nick-invision/retry@v1
6276
with:

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@
2121
"evenement/evenement": "^3.0.1",
2222
"monolog/monolog": "^1.27.1 || ^2.8 || ^3.2",
2323
"psr/log": "^1.1 || ^2.0 || ^3.0",
24-
"symfony/filesystem": "^4.4 || ^5.0 || ^6.0",
24+
"symfony/filesystem": "^4.4 || ^5.0 || ^6.0 || ^7.0",
2525
"symfony/polyfill-mbstring": "^1.26",
26-
"symfony/process": "^4.4 || ^5.0 || ^6.0"
26+
"symfony/process": "^4.4 || ^5.0 || ^6.0 || ^7.0"
2727
},
2828
"require-dev":{
2929
"bamarni/composer-bin-plugin": "^1.8.2",
3030
"phpunit/phpunit": "^9.6.3 || ^10.0.12",
31-
"symfony/var-dumper": "^4.4 || ^5.0 || ^6.0"
31+
"symfony/var-dumper": "^4.4 || ^5.0 || ^6.0 || ^7.0"
3232
},
3333
"autoload":{
3434
"psr-4" : {

0 commit comments

Comments
 (0)