From 2eec2a4b8acb3739c6f6b32f9ddf4ed5ed22a06d Mon Sep 17 00:00:00 2001 From: Rob Allen Date: Sat, 29 Aug 2026 20:54:28 +0100 Subject: [PATCH] Isolate testDetermineResponseFactoryThrowsRuntimeException on PHPUnit 10+ For PHPUnit 10+ we need the annotation rather than the docblock. --- tests/Factory/AppFactoryTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Factory/AppFactoryTest.php b/tests/Factory/AppFactoryTest.php index 42565e89f..0d467c14e 100644 --- a/tests/Factory/AppFactoryTest.php +++ b/tests/Factory/AppFactoryTest.php @@ -113,6 +113,7 @@ public function testDetermineResponseFactoryThrowsRuntimeExceptionIfDecoratedNot /** * @runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests */ + #[\PHPUnit\Framework\Attributes\RunInSeparateProcess] public function testDetermineResponseFactoryThrowsRuntimeException() { $this->expectException(RuntimeException::class);