From bfabc305c9e8144405ac32870af6bc7b6b534191 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Mon, 22 May 2023 19:28:03 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Bridge/Symfony/Validator/Constraint/Enum.php | 1 + tests/Bridge/Symfony/Form/Type/EnumTypeTest.php | 2 +- tests/Bridge/Symfony/Validator/Constraint/EnumTest.php | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Bridge/Symfony/Validator/Constraint/Enum.php b/src/Bridge/Symfony/Validator/Constraint/Enum.php index 897ed33..2241c48 100644 --- a/src/Bridge/Symfony/Validator/Constraint/Enum.php +++ b/src/Bridge/Symfony/Validator/Constraint/Enum.php @@ -9,6 +9,7 @@ /** * @Annotation + * * @Target({"PROPERTY", "METHOD", "ANNOTATION"}) * * @author Sullivan Senechal diff --git a/tests/Bridge/Symfony/Form/Type/EnumTypeTest.php b/tests/Bridge/Symfony/Form/Type/EnumTypeTest.php index 08f87fe..17dc2d2 100644 --- a/tests/Bridge/Symfony/Form/Type/EnumTypeTest.php +++ b/tests/Bridge/Symfony/Form/Type/EnumTypeTest.php @@ -61,7 +61,7 @@ public function getInvalidEnums() { return [ [FooInterface::class], - [\StdClass::class], + [\stdClass::class], ['This\Does\Not\Exist\At\All'], ]; } diff --git a/tests/Bridge/Symfony/Validator/Constraint/EnumTest.php b/tests/Bridge/Symfony/Validator/Constraint/EnumTest.php index 57489f7..55042b9 100644 --- a/tests/Bridge/Symfony/Validator/Constraint/EnumTest.php +++ b/tests/Bridge/Symfony/Validator/Constraint/EnumTest.php @@ -45,7 +45,7 @@ public function getInvalidEnums() { return [ [FooInterface::class], - [\StdClass::class], + [\stdClass::class], ['This\Does\Not\Exist\At\All'], ]; }