@@ -298,7 +298,7 @@ public function testNoAutoReleaseWhenNotConfigured()
298298
299299 public function testReleaseThrowsExceptionWhenDeletionFail ()
300300 {
301- $ this ->expectException (' Symfony\Component\Lock\Exception\LockReleasingException ' );
301+ $ this ->expectException (\ Symfony \Component \Lock \Exception \LockReleasingException::class );
302302 $ key = new Key (uniqid (__METHOD__ , true ));
303303 $ store = $ this ->getMockBuilder (PersistingStoreInterface::class)->getMock ();
304304 $ lock = new Lock ($ key , $ store , 10 );
@@ -319,7 +319,7 @@ public function testReleaseThrowsExceptionWhenDeletionFail()
319319
320320 public function testReleaseThrowsExceptionIfNotWellDeleted ()
321321 {
322- $ this ->expectException (' Symfony\Component\Lock\Exception\LockReleasingException ' );
322+ $ this ->expectException (\ Symfony \Component \Lock \Exception \LockReleasingException::class );
323323 $ key = new Key (uniqid (__METHOD__ , true ));
324324 $ store = $ this ->getMockBuilder (PersistingStoreInterface::class)->getMock ();
325325 $ lock = new Lock ($ key , $ store , 10 );
@@ -340,7 +340,7 @@ public function testReleaseThrowsExceptionIfNotWellDeleted()
340340
341341 public function testReleaseThrowsAndLog ()
342342 {
343- $ this ->expectException (' Symfony\Component\Lock\Exception\LockReleasingException ' );
343+ $ this ->expectException (\ Symfony \Component \Lock \Exception \LockReleasingException::class );
344344 $ key = new Key (uniqid (__METHOD__ , true ));
345345 $ store = $ this ->getMockBuilder (PersistingStoreInterface::class)->getMock ();
346346 $ logger = $ this ->getMockBuilder (LoggerInterface::class)->getMock ();
0 commit comments