From: Robin Gustafsson <robin@rgson.se>
Date: Sun, 9 Feb 2025 17:55:39 +0100
Subject: Fix deprecation logging driver tests

Set up error handling in the test to handle deprecation warnings.

PHPUnit 11 is more strict about error handlers. Upstream doesn't
support PHPUnit 11 yet.
---
 tests/HandleExceptionsTest.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/HandleExceptionsTest.php b/tests/HandleExceptionsTest.php
index bc74efe..f492f04 100644
--- a/tests/HandleExceptionsTest.php
+++ b/tests/HandleExceptionsTest.php
@@ -24,6 +24,8 @@ class HandleExceptionsTest extends TestCase
         $this->container->singleton('config', function () {
             return $this->config;
         });
+
+        $this->registerErrorHandling();
     }
 
     protected function tearDown(): void
