@@ -54,7 +54,7 @@ public function testNoExeptionIfAllDependenciesArePresent()
5454
5555 public function testExceptionIfTheTokenStorageServiceIsNotPresent ()
5656 {
57- $ this ->expectException (' Symfony\Component\DependencyInjection\Exception\LogicException ' );
57+ $ this ->expectException (\ Symfony \Component \DependencyInjection \Exception \LogicException::class );
5858 $ this ->expectExceptionMessage ('The "security.token_storage" service is needed to be able to use the workflow guard listener. ' );
5959 $ this ->container ->setParameter ('workflow.has_guard_listeners ' , true );
6060 $ this ->container ->register ('security.authorization_checker ' , AuthorizationCheckerInterface::class);
@@ -66,7 +66,7 @@ public function testExceptionIfTheTokenStorageServiceIsNotPresent()
6666
6767 public function testExceptionIfTheAuthorizationCheckerServiceIsNotPresent ()
6868 {
69- $ this ->expectException (' Symfony\Component\DependencyInjection\Exception\LogicException ' );
69+ $ this ->expectException (\ Symfony \Component \DependencyInjection \Exception \LogicException::class );
7070 $ this ->expectExceptionMessage ('The "security.authorization_checker" service is needed to be able to use the workflow guard listener. ' );
7171 $ this ->container ->setParameter ('workflow.has_guard_listeners ' , true );
7272 $ this ->container ->register ('security.token_storage ' , TokenStorageInterface::class);
@@ -78,7 +78,7 @@ public function testExceptionIfTheAuthorizationCheckerServiceIsNotPresent()
7878
7979 public function testExceptionIfTheAuthenticationTrustResolverServiceIsNotPresent ()
8080 {
81- $ this ->expectException (' Symfony\Component\DependencyInjection\Exception\LogicException ' );
81+ $ this ->expectException (\ Symfony \Component \DependencyInjection \Exception \LogicException::class );
8282 $ this ->expectExceptionMessage ('The "security.authentication.trust_resolver" service is needed to be able to use the workflow guard listener. ' );
8383 $ this ->container ->setParameter ('workflow.has_guard_listeners ' , true );
8484 $ this ->container ->register ('security.token_storage ' , TokenStorageInterface::class);
@@ -90,7 +90,7 @@ public function testExceptionIfTheAuthenticationTrustResolverServiceIsNotPresent
9090
9191 public function testExceptionIfTheRoleHierarchyServiceIsNotPresent ()
9292 {
93- $ this ->expectException (' Symfony\Component\DependencyInjection\Exception\LogicException ' );
93+ $ this ->expectException (\ Symfony \Component \DependencyInjection \Exception \LogicException::class );
9494 $ this ->expectExceptionMessage ('The "security.role_hierarchy" service is needed to be able to use the workflow guard listener. ' );
9595 $ this ->container ->setParameter ('workflow.has_guard_listeners ' , true );
9696 $ this ->container ->register ('security.token_storage ' , TokenStorageInterface::class);
0 commit comments