Skip to content

Commit 75f726f

Browse files
committed
allow installation with symfony 8
1 parent 86c3e36 commit 75f726f

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/test-application.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
test:
1313
name: "PHP ${{ matrix.php-version }}, Symfony ${{ matrix.symfony-version }} ${{ matrix.dependencies }}"
14-
runs-on: "ubuntu-20.04"
14+
runs-on: "ubuntu-latest"
1515
env:
1616
SYMFONY_DEPRECATIONS_HELPER: weak
1717
SYMFONY_REQUIRE: ${{ matrix.symfony-version }}
@@ -30,8 +30,8 @@ jobs:
3030
- php-version: "8.2"
3131
- php-version: "8.3"
3232
symfony-version: "7"
33-
- php-version: "8.4"
34-
symfony-version: "7"
33+
- php-version: "8.5"
34+
symfony-version: "8"
3535

3636
steps:
3737
- name: "Checkout project"
@@ -48,7 +48,7 @@ jobs:
4848
uses: "ramsey/composer-install@v3"
4949
with:
5050
dependency-versions: "${{ matrix.dependencies }}"
51-
composer-options: "--prefer-dist"
51+
composer-options: "--prefer-dist --disable-block-insecure"
5252

5353
- name: "Install phpunit"
5454
run: vendor/bin/simple-phpunit install

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616
],
1717
"require": {
1818
"php": "^8.0",
19-
"symfony/routing": "^6.0 || ^7.0",
20-
"symfony/http-kernel": "^6.0 || ^7.0",
19+
"symfony/routing": "^6.0 || ^7.0 || ^8.0",
20+
"symfony/http-kernel": "^6.0 || ^7.0 || ^8.0",
2121
"psr/log": "^1.0 || ^2.0 || ^3.0"
2222
},
2323
"require-dev": {
24-
"symfony/phpunit-bridge": "^7.0.3",
25-
"symfony/dependency-injection": "^6.0 || ^7.0",
26-
"symfony/config": "^6.0 || ^7.0",
27-
"symfony/event-dispatcher": "^6.0 || ^7.0"
24+
"symfony/phpunit-bridge": "^7.0.3 || ^8.0",
25+
"symfony/dependency-injection": "^6.0 || ^7.0 || ^8.0",
26+
"symfony/config": "^6.0 || ^7.0 || ^8.0",
27+
"symfony/event-dispatcher": "^6.0 || ^7.0 || ^8.0"
2828
},
2929
"suggest": {
3030
"symfony/event-dispatcher": "DynamicRouter can optionally trigger an event at the start of matching. Minimal version ^6.0"

0 commit comments

Comments
 (0)