Skip to content

Commit 13b6569

Browse files
jnoordsijbarryvdh
andauthored
Allow Symfony v8 (#38)
* Allow Symfony v8 and drop unsupported PHP/Symfony versions --------- Co-authored-by: Barry vd. Heuvel <[email protected]>
1 parent e82ae5d commit 13b6569

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

.github/workflows/run-tests.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,21 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
php: [7.4, 8.0, 8.1, 8.2, 8.3, 8.4, 8.5]
16-
symfony: [^4.4, ^5.4, ^6]
15+
php: [8.1, 8.2, 8.3, 8.4, 8.5]
16+
symfony: [^5.4, ^6.4, ^7.3, ^8.0]
1717
dependency-version: [prefer-lowest, prefer-stable]
1818
os: [ubuntu-latest]
1919
exclude:
20-
- symfony: ^6
21-
php: 7.4
20+
# Symfony 7+ requires PHP 8.2+; see https://symfony.com/releases/7.4
21+
- symfony: ^7.3
22+
php: 8.1
23+
# Symfony 8+ requires PHP 8.4+; see https://symfony.com/releases/8.0
24+
- symfony: ^8.0
25+
php: 8.1
26+
- symfony: ^8.0
27+
php: 8.2
28+
- symfony: ^8.0
29+
php: 8.3
2230

2331
name: PHP${{ matrix.php }} Symfony${{ matrix.symfony }} - ${{ matrix.os }} - ${{ matrix.dependency-version }}
2432

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^7.4|^8.0",
20-
"symfony/http-foundation": "^4.4|^5.4|^6|^7"
19+
"php": "^8.1",
20+
"symfony/http-foundation": "^5.4|^6.4|^7.3|^8"
2121
},
2222
"require-dev": {
2323
"phpunit/phpunit": "^9",

0 commit comments

Comments
 (0)