diff --git a/src/Configuration/Cache.php b/src/Configuration/Cache.php index 63178446..5e23b1e8 100644 --- a/src/Configuration/Cache.php +++ b/src/Configuration/Cache.php @@ -11,15 +11,13 @@ namespace Sensio\Bundle\FrameworkExtraBundle\Configuration; -use Attribute; - /** * The Cache class handles the Cache annotation parts. * * @author Fabien Potencier * @Annotation */ -#[Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD)] +#[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD)] class Cache extends ConfigurationAnnotation { /** diff --git a/src/Configuration/Entity.php b/src/Configuration/Entity.php index 2cdc9eed..1273d38d 100644 --- a/src/Configuration/Entity.php +++ b/src/Configuration/Entity.php @@ -11,15 +11,13 @@ namespace Sensio\Bundle\FrameworkExtraBundle\Configuration; -use Attribute; - /** * Doctrine-specific ParamConverter with an easier syntax. * * @author Ryan Weaver * @Annotation */ -#[Attribute(\Attribute::IS_REPEATABLE | \Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD)] +#[\Attribute(\Attribute::IS_REPEATABLE | \Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD)] class Entity extends ParamConverter { public function setExpr($expr) diff --git a/src/Configuration/IsGranted.php b/src/Configuration/IsGranted.php index beb6c1e0..f9f7f87d 100644 --- a/src/Configuration/IsGranted.php +++ b/src/Configuration/IsGranted.php @@ -11,15 +11,13 @@ namespace Sensio\Bundle\FrameworkExtraBundle\Configuration; -use Attribute; - /** * The Security class handles the Security annotation. * * @author Ryan Weaver * @Annotation */ -#[Attribute(\Attribute::IS_REPEATABLE | \Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD)] +#[\Attribute(\Attribute::IS_REPEATABLE | \Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD)] class IsGranted extends ConfigurationAnnotation { /** diff --git a/src/Configuration/ParamConverter.php b/src/Configuration/ParamConverter.php index 805a0708..964044d0 100644 --- a/src/Configuration/ParamConverter.php +++ b/src/Configuration/ParamConverter.php @@ -11,15 +11,13 @@ namespace Sensio\Bundle\FrameworkExtraBundle\Configuration; -use Attribute; - /** * The ParamConverter class handles the ParamConverter annotation parts. * * @author Fabien Potencier * @Annotation */ -#[Attribute(\Attribute::IS_REPEATABLE | \Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD)] +#[\Attribute(\Attribute::IS_REPEATABLE | \Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD)] class ParamConverter extends ConfigurationAnnotation { /** diff --git a/src/Configuration/Security.php b/src/Configuration/Security.php index e7371bf9..c884eb63 100644 --- a/src/Configuration/Security.php +++ b/src/Configuration/Security.php @@ -11,15 +11,13 @@ namespace Sensio\Bundle\FrameworkExtraBundle\Configuration; -use Attribute; - /** * The Security class handles the Security annotation. * * @author Fabien Potencier * @Annotation */ -#[Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD)] +#[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD)] class Security extends ConfigurationAnnotation { /** diff --git a/src/Configuration/Template.php b/src/Configuration/Template.php index ac8878c7..98bbbd6f 100644 --- a/src/Configuration/Template.php +++ b/src/Configuration/Template.php @@ -11,15 +11,13 @@ namespace Sensio\Bundle\FrameworkExtraBundle\Configuration; -use Attribute; - /** * The Template class handles the Template annotation parts. * * @author Fabien Potencier * @Annotation */ -#[Attribute(\Attribute::TARGET_METHOD)] +#[\Attribute(\Attribute::TARGET_METHOD)] class Template extends ConfigurationAnnotation { /**