diff --git a/src/Configuration/Cache.php b/src/Configuration/Cache.php index 33fb7ce1..63178446 100644 --- a/src/Configuration/Cache.php +++ b/src/Configuration/Cache.php @@ -12,6 +12,7 @@ namespace Sensio\Bundle\FrameworkExtraBundle\Configuration; use Attribute; + /** * The Cache class handles the Cache annotation parts. * diff --git a/src/Configuration/Entity.php b/src/Configuration/Entity.php index 68cfd057..2cdc9eed 100644 --- a/src/Configuration/Entity.php +++ b/src/Configuration/Entity.php @@ -12,6 +12,7 @@ namespace Sensio\Bundle\FrameworkExtraBundle\Configuration; use Attribute; + /** * Doctrine-specific ParamConverter with an easier syntax. * diff --git a/src/Configuration/IsGranted.php b/src/Configuration/IsGranted.php index 188363e3..beb6c1e0 100644 --- a/src/Configuration/IsGranted.php +++ b/src/Configuration/IsGranted.php @@ -12,6 +12,7 @@ namespace Sensio\Bundle\FrameworkExtraBundle\Configuration; use Attribute; + /** * The Security class handles the Security annotation. * diff --git a/src/Configuration/ParamConverter.php b/src/Configuration/ParamConverter.php index 818911fe..805a0708 100644 --- a/src/Configuration/ParamConverter.php +++ b/src/Configuration/ParamConverter.php @@ -12,6 +12,7 @@ namespace Sensio\Bundle\FrameworkExtraBundle\Configuration; use Attribute; + /** * The ParamConverter class handles the ParamConverter annotation parts. * diff --git a/src/Configuration/Security.php b/src/Configuration/Security.php index 2a75268b..e7371bf9 100644 --- a/src/Configuration/Security.php +++ b/src/Configuration/Security.php @@ -12,6 +12,7 @@ namespace Sensio\Bundle\FrameworkExtraBundle\Configuration; use Attribute; + /** * The Security class handles the Security annotation. * diff --git a/src/Configuration/Template.php b/src/Configuration/Template.php index 0172154d..ac8878c7 100644 --- a/src/Configuration/Template.php +++ b/src/Configuration/Template.php @@ -12,6 +12,7 @@ namespace Sensio\Bundle\FrameworkExtraBundle\Configuration; use Attribute; + /** * The Template class handles the Template annotation parts. * diff --git a/tests/EventListener/SecurityListenerTest.php b/tests/EventListener/SecurityListenerTest.php index 2b78242a..9123e2e4 100644 --- a/tests/EventListener/SecurityListenerTest.php +++ b/tests/EventListener/SecurityListenerTest.php @@ -19,12 +19,12 @@ use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpKernel\Event\ControllerArgumentsEvent; use Symfony\Component\HttpKernel\Exception\HttpException; +use Symfony\Component\HttpKernel\HttpKernelInterface; use Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolverInterface; use Symfony\Component\Security\Core\Authentication\Token\AbstractToken; use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface; use Symfony\Component\Security\Core\Exception\AccessDeniedException; -use Symfony\Component\HttpKernel\HttpKernelInterface; use Symfony\Component\Security\Core\Role\RoleHierarchy; class SecurityListenerTest extends \PHPUnit\Framework\TestCase