From 105ff1daecf3ec91ad26f0d4aa9cdc311f862605 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Paris?= Date: Sat, 30 Nov 2024 10:35:01 +0100 Subject: [PATCH] Upgrade to PHPUnit 11 The symfony/phpunit-bridge listener we were using is replaced by native features. --- composer.json | 3 +-- phpunit.xml.dist | 22 ++++++++++++++-------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/composer.json b/composer.json index db74544..10ff88c 100644 --- a/composer.json +++ b/composer.json @@ -39,8 +39,7 @@ "require-dev": { "doctrine/coding-standard": "^12", "phpstan/phpstan": "^2", - "phpunit/phpunit": "^9.6.13", - "symfony/phpunit-bridge": "^6.3.6" + "phpunit/phpunit": "^10.5.38 || ^11" }, "conflict": { "doctrine/dbal": "< 3" diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 0389eb5..2d233cf 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,19 +1,25 @@ - + ./tests - - + + + src - - + + - - - + + +