File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
tests/Tracing/Doctrine/DBAL Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 10
10
use Doctrine \DBAL \Driver \Connection as DriverConnectionInterface ;
11
11
use Doctrine \DBAL \Driver \DriverException as DriverExceptionInterface ;
12
12
use Doctrine \DBAL \Driver \ExceptionConverterDriver as ExceptionConverterDriverInterface ;
13
+ use Doctrine \DBAL \Exception ;
13
14
use Doctrine \DBAL \Exception \DriverException as DBALDriverException ;
14
15
use Doctrine \DBAL \Platforms \AbstractPlatform ;
15
16
use Doctrine \DBAL \Schema \AbstractSchemaManager ;
@@ -264,3 +265,7 @@ interface StubExceptionConverterDriverInterface extends DriverInterface
264
265
{
265
266
}
266
267
}
268
+
269
+ if (!class_exists (DriverExceptionInterface::class)) {
270
+ class_alias (Exception::class, DriverExceptionInterface::class);
271
+ }
You can’t perform that action at this time.
0 commit comments