@@ -367,7 +367,7 @@ public function testPrepare() : void
367
367
PreparedStatement::class,
368
368
static ::$ database ->prepare ('SELECT * FROM `t1` WHERE `c1` = ? ' )
369
369
);
370
- $ this ->expectException (\ mysqli_sql_exception::class);
370
+ $ this ->expectException (mysqli_sql_exception::class);
371
371
static ::$ database ->prepare ('FOO ' );
372
372
}
373
373
@@ -441,7 +441,7 @@ public function testTransactionRollback() : void
441
441
});
442
442
} catch (\Exception $ exception ) {
443
443
$ schema = \getenv ('DB_SCHEMA ' );
444
- self ::assertInstanceOf (\ mysqli_sql_exception::class, $ exception );
444
+ self ::assertInstanceOf (mysqli_sql_exception::class, $ exception );
445
445
self ::assertSame ("Table ' {$ schema }.t1000' doesn't exist " , $ exception ->getMessage ());
446
446
}
447
447
self ::assertSame (7 , static ::$ database ->exec ('SELECT * FROM `t1` ' ));
@@ -450,7 +450,7 @@ public function testTransactionRollback() : void
450
450
public function testUse () : void
451
451
{
452
452
static ::$ database ->use (\getenv ('DB_SCHEMA ' )); // @phpstan-ignore-line
453
- $ this ->expectException (\ mysqli_sql_exception::class);
453
+ $ this ->expectException (mysqli_sql_exception::class);
454
454
$ this ->expectExceptionMessage ("Unknown database 'Foo' " );
455
455
static ::$ database ->use ('Foo ' );
456
456
}
@@ -462,7 +462,7 @@ public function testErrors() : void
462
462
self ::assertNull (static ::$ database ->error ());
463
463
try {
464
464
static ::$ database ->use ('Bar ' );
465
- } catch (\ mysqli_sql_exception ) {
465
+ } catch (mysqli_sql_exception ) {
466
466
//
467
467
}
468
468
self ::assertSame ([
0 commit comments