Skip to content

Commit 1f42d0f

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

File tree

4 files changed

+20
-21
lines changed

4 files changed

+20
-21
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 --no-security-blocking"
5252

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

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Changelog
22
=========
33

4+
3.0.5
5+
-----
6+
7+
* Allow installation with Symfony 8.
8+
49
3.0.4
510
-----
611

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"

phpunit.xml.dist

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,10 @@
1111
<directory>./tests</directory>
1212
</testsuite>
1313
</testsuites>
14-
15-
<filter>
16-
<whitelist addUncoveredFilesFromWhitelist="true">
17-
<directory>.</directory>
18-
<exclude>
19-
<directory>Test/</directory>
20-
<directory>Tests/</directory>
21-
<directory>vendor/</directory>
22-
</exclude>
23-
</whitelist>
24-
</filter>
14+
<coverage>
15+
<include>
16+
<directory suffix=".php">src</directory>
17+
</include>
18+
</coverage>
2519

2620
</phpunit>

0 commit comments

Comments
 (0)