@@ -278,7 +278,7 @@ public function testNoAutoReleaseWhenNotConfigured()
278278
279279 public function testReleaseThrowsExceptionWhenDeletionFail ()
280280 {
281- $ this ->expectException (' Symfony\Component\Lock\Exception\LockReleasingException ' );
281+ $ this ->expectException (\ Symfony \Component \Lock \Exception \LockReleasingException::class );
282282 $ key = new Key (uniqid (__METHOD__ , true ));
283283 $ store = $ this ->getMockBuilder (PersistingStoreInterface::class)->getMock ();
284284 $ lock = new Lock ($ key , $ store , 10 );
@@ -299,7 +299,7 @@ public function testReleaseThrowsExceptionWhenDeletionFail()
299299
300300 public function testReleaseThrowsExceptionIfNotWellDeleted ()
301301 {
302- $ this ->expectException (' Symfony\Component\Lock\Exception\LockReleasingException ' );
302+ $ this ->expectException (\ Symfony \Component \Lock \Exception \LockReleasingException::class );
303303 $ key = new Key (uniqid (__METHOD__ , true ));
304304 $ store = $ this ->getMockBuilder (PersistingStoreInterface::class)->getMock ();
305305 $ lock = new Lock ($ key , $ store , 10 );
@@ -320,7 +320,7 @@ public function testReleaseThrowsExceptionIfNotWellDeleted()
320320
321321 public function testReleaseThrowsAndLog ()
322322 {
323- $ this ->expectException (' Symfony\Component\Lock\Exception\LockReleasingException ' );
323+ $ this ->expectException (\ Symfony \Component \Lock \Exception \LockReleasingException::class );
324324 $ key = new Key (uniqid (__METHOD__ , true ));
325325 $ store = $ this ->getMockBuilder (PersistingStoreInterface::class)->getMock ();
326326 $ logger = $ this ->getMockBuilder (LoggerInterface::class)->getMock ();
0 commit comments