File tree Expand file tree Collapse file tree 1 file changed +16
-14
lines changed
tests/Tracing/Doctrine/DBAL Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Original file line number Diff line number Diff line change @@ -250,22 +250,24 @@ public function testConvertExceptionThrowsIfDoctrineDBALVersionIsAtLeast30(): vo
250
250
}
251
251
}
252
252
253
- if (interface_exists (VersionAwarePlatformDriverInterface::class)) {
254
- interface StubVersionAwarePlatformDriverInterface extends DriverInterface, VersionAwarePlatformDriverInterface
255
- {
253
+ if (interface_exists (DriverInterface::class)) {
254
+ if (interface_exists (VersionAwarePlatformDriverInterface::class)) {
255
+ interface StubVersionAwarePlatformDriverInterface extends DriverInterface, VersionAwarePlatformDriverInterface
256
+ {
257
+ }
256
258
}
257
- }
258
259
259
- if (interface_exists (ExceptionConverterDriverInterface::class)) {
260
- interface StubExceptionConverterDriverInterface extends ExceptionConverterDriverInterface, DriverInterface
261
- {
262
- }
263
- } else {
264
- interface StubExceptionConverterDriverInterface extends DriverInterface
265
- {
260
+ if (interface_exists (ExceptionConverterDriverInterface::class)) {
261
+ interface StubExceptionConverterDriverInterface extends ExceptionConverterDriverInterface, DriverInterface
262
+ {
263
+ }
264
+ } else {
265
+ interface StubExceptionConverterDriverInterface extends DriverInterface
266
+ {
267
+ }
266
268
}
267
- }
268
269
269
- if (!class_exists (DriverExceptionInterface::class)) {
270
- class_alias (Exception::class, DriverExceptionInterface::class);
270
+ if (!class_exists (DriverExceptionInterface::class)) {
271
+ class_alias (Exception::class, DriverExceptionInterface::class);
272
+ }
271
273
}
You can’t perform that action at this time.
0 commit comments