diff --git a/src/Symfony/Component/Serializer/Tests/SerializerTest.php b/src/Symfony/Component/Serializer/Tests/SerializerTest.php index 9fb1519b8bae7..bbc3d81cb8580 100644 --- a/src/Symfony/Component/Serializer/Tests/SerializerTest.php +++ b/src/Symfony/Component/Serializer/Tests/SerializerTest.php @@ -1169,9 +1169,6 @@ public function testCollectDenormalizationErrorsWithConstructor(?ClassMetadataFa $this->assertSame($expected, $exceptionsAsArray); } - /** - * @requires PHP 8.1 - */ public function testCollectDenormalizationErrorsWithEnumConstructor() { $serializer = new Serializer( @@ -1209,9 +1206,6 @@ public function testCollectDenormalizationErrorsWithEnumConstructor() $this->assertSame($expected, $exceptionsAsArray); } - /** - * @requires PHP 8.1 - */ public function testNoCollectDenormalizationErrorsWithWrongEnum() { $serializer = new Serializer(