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()
89
89
} catch (\Exception $ e ) {
90
90
}
91
91
92
- $ this ->assertInstanceOf (' \LogicException ' , $ e );
92
+ $ this ->assertInstanceOf (\LogicException::class , $ e );
93
93
}
94
94
95
95
public function testSetName ()
Original file line number Diff line number Diff line change @@ -136,6 +136,6 @@ public function testGetConnection()
136
136
$ method = new \ReflectionMethod ($ this ->storage , 'getMemcached ' );
137
137
$ method ->setAccessible (true );
138
138
139
- $ this ->assertInstanceOf (' \Memcached ' , $ method ->invoke ($ this ->storage ));
139
+ $ this ->assertInstanceOf (\Memcached::class , $ method ->invoke ($ this ->storage ));
140
140
}
141
141
}
Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ public function testGetConnection()
298
298
$ method = new \ReflectionMethod ($ storage , 'getConnection ' );
299
299
$ method ->setAccessible (true );
300
300
301
- $ this ->assertInstanceOf (' \PDO ' , $ method ->invoke ($ storage ));
301
+ $ this ->assertInstanceOf (\PDO ::class , $ method ->invoke ($ storage ));
302
302
}
303
303
304
304
public function testGetConnectionConnectsIfNeeded ()
@@ -308,7 +308,7 @@ public function testGetConnectionConnectsIfNeeded()
308
308
$ method = new \ReflectionMethod ($ storage , 'getConnection ' );
309
309
$ method ->setAccessible (true );
310
310
311
- $ this ->assertInstanceOf (' \PDO ' , $ method ->invoke ($ storage ));
311
+ $ this ->assertInstanceOf (\PDO ::class , $ method ->invoke ($ storage ));
312
312
}
313
313
314
314
/**
You can’t perform that action at this time.
0 commit comments