diff --git a/Tests/ConnectionFactoryTest.php b/Tests/ConnectionFactoryTest.php
index <HASH>..<HASH> 100644
--- a/Tests/ConnectionFactoryTest.php
+++ b/Tests/ConnectionFactoryTest.php
@@ -3,10 +3,11 @@
 namespace Doctrine\Bundle\DoctrineBundle\Tests;
 
 use Doctrine\Bundle\DoctrineBundle\ConnectionFactory;
+use Doctrine\Common\EventManager;
+use Doctrine\DBAL\Configuration;
 use Doctrine\DBAL\Connection;
 use Doctrine\DBAL\DBALException;
 use Doctrine\DBAL\Driver;
-use Doctrine\DBAL\Driver\API\ExceptionConverter;
 use Doctrine\DBAL\Exception\DriverException;
 use Doctrine\DBAL\Platforms\AbstractPlatform;
 use Doctrine\DBAL\Platforms\MySqlPlatform;
@@ -158,11 +159,6 @@ class FakeDriver implements Driver
     {
         return 'fake_db';
     }
-
-    public function getExceptionConverter(): ExceptionConverter
-    {
-        throw new Exception('not implemented');
-    }
 }
 
 class FakeConnection extends Connection
SA: Add missing imports in ConnectionFactoryTest

<3 Psalm