From 7012cc5e8a8c9841fdae4a7a5fb35bfa56c2b03c Mon Sep 17 00:00:00 2001 From: Jakub Zalas Date: Tue, 26 Aug 2025 12:47:13 +0100 Subject: [PATCH] Drop PHPUnit 10 and 11 for now It turns out it does not work due to changes in PHPUnit (missing traits like TestListenerDefaultImplementation). Tests were not failing before as other dependencies were preventing the PHPUnit from updating to 11. Re #47 --- composer.json | 2 +- tests/phar/phpunit.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index c6941d7..4b338a9 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "type": "library", "require": { "php": "~8.1.0 || ~8.2.0 || ~8.3.0", - "phpunit/phpunit": "^9.0 || ^10.0 || ^11.0", + "phpunit/phpunit": "^9.0", "psr/container": "^1.0 || ^2.0", "zalas/injector": "^2.0" }, diff --git a/tests/phar/phpunit.xml b/tests/phar/phpunit.xml index dab383e..169a007 100644 --- a/tests/phar/phpunit.xml +++ b/tests/phar/phpunit.xml @@ -1,6 +1,6 @@