Skip to content

Commit 1c26888

Browse files
Add support for Symfony 7
1 parent aad451d commit 1c26888

File tree

2 files changed

+32
-13
lines changed

2 files changed

+32
-13
lines changed

.github/workflows/test-application.yaml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,23 @@ jobs:
3131
storage: doctrine
3232
- php-version: '8.1'
3333
storage: array
34+
35+
- php-version: '8.2'
36+
storage: doctrine
37+
- php-version: '8.2'
38+
storage: array
39+
40+
- php-version: '8.3'
41+
storage: doctrine
42+
- php-version: '8.3'
43+
storage: array
44+
45+
- php-version: '8.4'
46+
storage: doctrine
47+
composer-flags: --ignore-platform-reqs
48+
- php-version: '8.4'
49+
storage: array
50+
composer-flags: --ignore-platform-reqs
3451
steps:
3552
- name: Checkout project
3653
uses: actions/checkout@v2
@@ -51,7 +68,7 @@ jobs:
5168
uses: ramsey/composer-install@v2
5269
with:
5370
dependency-versions: ${{ matrix.dependencies }}
54-
composer-options: --prefer-dist --no-suggest
71+
composer-options: --prefer-dist --no-suggest ${{ matrix.composer-flags }}
5572

5673
- name: Doctrine
5774
if: matrix.storage == 'doctrine'

composer.json

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,25 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^8.0 || ^8.1",
13+
"php": "^8.0",
1414
"php-task/php-task": "^2.0",
15-
"symfony/http-kernel": "^5.4 || ^6.0",
16-
"symfony/dependency-injection": "^5.4 || ^6.0",
17-
"symfony/expression-language": "^5.4 || ^6.0",
18-
"symfony/config": "^5.4 || ^6.0",
19-
"symfony/console": "^5.4 || ^6.0",
20-
"symfony/process": "^5.4 || ^6.0",
15+
"symfony/http-kernel": "^5.4 || ^6.0 || ^7.0",
16+
"symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0",
17+
"symfony/expression-language": "^5.4 || ^6.0 || ^7.0",
18+
"symfony/config": "^5.4 || ^6.0 || ^7.0",
19+
"symfony/console": "^5.4 || ^6.0 || ^7.0",
20+
"symfony/process": "^5.4 || ^6.0 || ^7.0",
2121
"doctrine/orm": "^2.5.3"
2222
},
2323
"require-dev": {
24-
"symfony/framework-bundle": "^5.4 || ^6.0",
25-
"symfony/finder": "^5.4 || ^6.0",
26-
"symfony/yaml": "^5.4 || ^6.0",
27-
"symfony/phpunit-bridge": "^5.4 || ^6.0",
24+
"symfony/framework-bundle": "^5.4 || ^6.0 || ^7.0",
25+
"symfony/finder": "^5.4 || ^6.0 || ^7.0",
26+
"symfony/yaml": "^5.4 || ^6.0 || ^7.0",
2827
"doctrine/doctrine-bundle": "^1.5 || ^2.0",
29-
"doctrine/data-fixtures": "^1.3.3"
28+
"doctrine/data-fixtures": "^1.3.3",
29+
"phpunit/phpunit": "^9.6.5 || ^10 || ^11",
30+
"phpspec/prophecy": "^1.14",
31+
"phpspec/prophecy-phpunit": "^2.0"
3032
},
3133
"autoload": {
3234
"psr-4": {

0 commit comments

Comments
 (0)