8000 minor #53134 remove unneeded `@requires` PHP from tests (xabbuh) · symfony/symfony@383dbd5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 383dbd5

Browse files
committed
minor #53134 remove unneeded @requires PHP from tests (xabbuh)
This PR was merged into the 6.3 branch. Discussion ---------- remove unneeded `@requires` PHP from tests | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT Commits ------- 58ce0fa remove unneeded `@requires` PHP from tests
2 parents 6b0fbfb + 58ce0fa commit 383dbd5

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)
0