Skip to content

Commit 58ce0fa

Browse files
committed
remove unneeded @requires PHP from tests
1 parent 6b0fbfb commit 58ce0fa

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

src/Symfony/Component/DependencyInjection/Tests/Dumper/YamlDumperTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,6 @@ public function testDumpHandlesEnumeration()
167167
}
168168

169169
/**
170-
* @requires PHP 8.1
171-
*
172170
* @dataProvider provideDefaultClasses
173171
*/
174172
public function testDumpHandlesDefaultAttribute($class, $expectedFile)

src/Symfony/Component/Serializer/Tests/SerializerTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -755,9 +755,6 @@ public function testDeserializeWrappedScalar()
755755
$this->assertSame(42, $serializer->deserialize('{"wrapper": 42}', 'int', 'json', [UnwrappingDenormalizer::UNWRAP_PATH => '[wrapper]']));
756756
}
757757

758-
/**
759-
* @requires PHP 8
760-
*/
761758
public function testDeserializeNullableIntInXml()
762759
{
763760
$extractor = new PropertyInfoExtractor([], [new ReflectionExtractor()]);

src/Symfony/Component/Validator/Tests/Constraints/WhenTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,6 @@ public function testAnnotations()
103103
self::assertSame(['Default', 'WhenTestWithAnnotations'], $bazConstraint->groups);
104104
}
105105

106-
/**
107-
* @requires PHP 8.1
108-
*/
109106
public function testAttributes()
110107
{
111108
$loader = new AnnotationLoader(new AnnotationReader());

0 commit comments

Comments
 (0)