Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 383dbd5

Browse filesBrowse 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
Copy full SHA for 383dbd5

File tree

Expand file treeCollapse file tree

3 files changed

+0
-8
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+0
-8
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/Tests/Dumper/YamlDumperTest.php
-2Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Serializer/Tests/SerializerTest.php
-3Lines 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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Tests/Constraints/WhenTest.php
-3Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.