Skip to content

Commit 906c9e0

Browse files
authored
[Feature] allow Symfony 6 (#264)
1 parent b1f81cc commit 906c9e0

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ jobs:
1717
matrix:
1818
php: [7.4, 8.0]
1919
symfony: [4.4.*, 5.3.*, 5.4.*]
20+
include:
21+
- php: 8.0
22+
symfony: 6.0.*
2023

2124
steps:
2225
- name: Checkout code
@@ -54,7 +57,7 @@ jobs:
5457
- name: Setup PHP
5558
uses: shivammathur/setup-php@v2
5659
with:
57-
php-version: 7.2
60+
php-version: 7.3
5861
coverage: none
5962

6063
- name: Install dependencies

composer.json

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,25 +23,24 @@
2323
}
2424
],
2525
"require": {
26-
"php": "^7.2 || ^8.0",
27-
"symfony/framework-bundle": "^4.4 || ^5.0",
28-
"laminas/laminas-diagnostics": "^1.5"
26+
"php": "^7.3 || ^8.0",
27+
"symfony/framework-bundle": "^4.4 || ^5.0 || ^6.0",
28+
"laminas/laminas-diagnostics": "^1.9"
2929
},
3030
"require-dev": {
3131
"matthiasnoback/symfony-dependency-injection-test": "^4.0",
32-
"sensiolabs/security-checker": "^5.0 || ^6.0",
3332
"enlightn/security-checker": "^1.2",
3433
"guzzlehttp/guzzle": "^5.3.2 || ^6.3.3 || ^7.0.1",
35-
"symfony/expression-language": "^4.4 || ^5.0",
34+
"symfony/expression-language": "^4.4 || ^5.0 || ^6.0",
3635
"swiftmailer/swiftmailer": "^5.4 || ^6.1",
3736
"doctrine/migrations": "^2.0 || ^3.0",
3837
"doctrine/doctrine-migrations-bundle": "^2.0 || ^3.0",
39-
"symfony/twig-bundle": "^4.4 || ^5.0",
40-
"symfony/browser-kit": "^4.4 || ^5.0",
41-
"symfony/asset": "^4.4 || ^5.0",
42-
"symfony/templating": "^4.4 || ^5.0",
38+
"symfony/twig-bundle": "^4.4 || ^5.0 || ^6.0",
39+
"symfony/browser-kit": "^4.4 || ^5.0 || ^6.0",
40+
"symfony/asset": "^4.4 || ^5.0 || ^6.0",
41+
"symfony/templating": "^4.4 || ^5.0 || ^6.0",
4342
"phpunit/phpunit": "^7.0 || ^8.0",
44-
"symfony/finder": "^4.4 || ^5.0",
43+
"symfony/finder": "^4.4 || ^5.0 || ^6.0",
4544
"friendsofphp/php-cs-fixer": "^2.16",
4645
"doctrine/persistence": "^1.3.3 || ^2.0"
4746
},

0 commit comments

Comments
 (0)