@@ -258,7 +258,7 @@ public function testNoAutoReleaseWhenNotConfigured()
258258
259259 public function testReleaseThrowsExceptionWhenDeletionFail ()
260260 {
261- $ this ->expectException (' Symfony\Component\Lock\Exception\LockReleasingException ' );
261+ $ this ->expectException (\ Symfony \Component \Lock \Exception \LockReleasingException::class );
262262 $ key = new Key (uniqid (__METHOD__ , true ));
263263 $ store = $ this ->getMockBuilder (PersistingStoreInterface::class)->getMock ();
264264 $ lock = new Lock ($ key , $ store , 10 );
@@ -279,7 +279,7 @@ public function testReleaseThrowsExceptionWhenDeletionFail()
279279
280280 public function testReleaseThrowsExceptionIfNotWellDeleted ()
281281 {
282- $ this ->expectException (' Symfony\Component\Lock\Exception\LockReleasingException ' );
282+ $ this ->expectException (\ Symfony \Component \Lock \Exception \LockReleasingException::class );
283283 $ key = new Key (uniqid (__METHOD__ , true ));
284284 $ store = $ this ->getMockBuilder (PersistingStoreInterface::class)->getMock ();
285285 $ lock = new Lock ($ key , $ store , 10 );
@@ -300,7 +300,7 @@ public function testReleaseThrowsExceptionIfNotWellDeleted()
300300
301301 public function testReleaseThrowsAndLog ()
302302 {
303- $ this ->expectException (' Symfony\Component\Lock\Exception\LockReleasingException ' );
303+ $ this ->expectException (\ Symfony \Component \Lock \Exception \LockReleasingException::class );
304304 $ key = new Key (uniqid (__METHOD__ , true ));
305305 $ store = $ this ->getMockBuilder (PersistingStoreInterface::class)->getMock ();
306306 $ logger = $ this ->getMockBuilder (LoggerInterface::class)->getMock ();
0 commit comments