File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ public function testSetIdAfterStart()
8989 } catch (\Exception $ e ) {
9090 }
9191
92- $ this ->assertInstanceOf (' \LogicException ' , $ e );
92+ $ this ->assertInstanceOf (\LogicException::class , $ e );
9393 }
9494
9595 public function testSetName ()
Original file line number Diff line number Diff line change @@ -136,6 +136,6 @@ public function testGetConnection()
136136 $ method = new \ReflectionMethod ($ this ->storage , 'getMemcached ' );
137137 $ method ->setAccessible (true );
138138
139- $ this ->assertInstanceOf (' \Memcached ' , $ method ->invoke ($ this ->storage ));
139+ $ this ->assertInstanceOf (\Memcached::class , $ method ->invoke ($ this ->storage ));
140140 }
141141}
Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ public function testGetConnection()
298298 $ method = new \ReflectionMethod ($ storage , 'getConnection ' );
299299 $ method ->setAccessible (true );
300300
301- $ this ->assertInstanceOf (' \PDO ' , $ method ->invoke ($ storage ));
301+ $ this ->assertInstanceOf (\PDO ::class , $ method ->invoke ($ storage ));
302302 }
303303
304304 public function testGetConnectionConnectsIfNeeded ()
@@ -308,7 +308,7 @@ public function testGetConnectionConnectsIfNeeded()
308308 $ method = new \ReflectionMethod ($ storage , 'getConnection ' );
309309 $ method ->setAccessible (true );
310310
311- $ this ->assertInstanceOf (' \PDO ' , $ method ->invoke ($ storage ));
311+ $ this ->assertInstanceOf (\PDO ::class , $ method ->invoke ($ storage ));
312312 }
313313
314314 /**
You can’t perform that action at this time.
0 commit comments