Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/test-application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
test:
name: "PHP ${{ matrix.php-version }}, Symfony ${{ matrix.symfony-version }} ${{ matrix.dependencies }}"
runs-on: "ubuntu-20.04"
runs-on: "ubuntu-latest"
env:
SYMFONY_DEPRECATIONS_HELPER: weak
SYMFONY_REQUIRE: ${{ matrix.symfony-version }}
Expand All @@ -30,8 +30,8 @@ jobs:
- php-version: "8.2"
- php-version: "8.3"
symfony-version: "7"
- php-version: "8.4"
symfony-version: "7"
- php-version: "8.5"
symfony-version: "8"

steps:
- name: "Checkout project"
Expand All @@ -48,7 +48,7 @@ jobs:
uses: "ramsey/composer-install@v3"
with:
dependency-versions: "${{ matrix.dependencies }}"
composer-options: "--prefer-dist"
composer-options: "--prefer-dist --no-security-blocking"

- name: "Install phpunit"
run: vendor/bin/simple-phpunit install
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=========

3.0.5
-----

* Allow installation with Symfony 8.

3.0.4
-----

Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
],
"require": {
"php": "^8.0",
"symfony/routing": "^6.0 || ^7.0",
"symfony/http-kernel": "^6.0 || ^7.0",
"symfony/routing": "^6.0 || ^7.0 || ^8.0",
"symfony/http-kernel": "^6.0 || ^7.0 || ^8.0",
"psr/log": "^1.0 || ^2.0 || ^3.0"
},
"require-dev": {
"symfony/phpunit-bridge": "^7.0.3",
"symfony/dependency-injection": "^6.0 || ^7.0",
"symfony/config": "^6.0 || ^7.0",
"symfony/event-dispatcher": "^6.0 || ^7.0"
"symfony/phpunit-bridge": "^7.0.3 || ^8.0",
"symfony/dependency-injection": "^6.0 || ^7.0 || ^8.0",
"symfony/config": "^6.0 || ^7.0 || ^8.0",
"symfony/event-dispatcher": "^6.0 || ^7.0 || ^8.0"
},
"suggest": {
"symfony/event-dispatcher": "DynamicRouter can optionally trigger an event at the start of matching. Minimal version ^6.0"
Expand Down
16 changes: 5 additions & 11 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,10 @@
<directory>./tests</directory>
</testsuite>
</testsuites>

<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory>.</directory>
<exclude>
<directory>Test/</directory>
<directory>Tests/</directory>
<directory>vendor/</directory>
</exclude>
</whitelist>
</filter>
<coverage>
<include>
<directory suffix=".php">src</directory>
</include>
</coverage>

</phpunit>