8000 minor #47606 remove no longer needed PHP version requirements from te… · symfony/symfony@a5c347b · GitHub
[go: up one dir, main page]

Skip to content

Commit a5c347b

Browse files
committed
minor #47606 remove no longer needed PHP version requirements from tests (xabbuh)
This PR was merged into the 6.0 branch. Discussion ---------- remove no longer needed PHP version requirements from tests | Q | A | ------------- | --- | Branch? | 6.0 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | Commits ------- c6513ec remove no longer needed PHP version requirements from tests
2 parents 04af823 + c6513ec commit a5c347b

File tree

3 files changed

+0
-15
lines changed

3 files changed

+0
-15
lines changed

src/Symfony/Component/DependencyInjection/Tests/Compiler/RegisterServiceSubscribersPassTest.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,6 @@ public function testWithAttributes()
131131
$this->assertEquals($expected, $container->getDefinition((string) $locator->getFactory()[0])->getArgument(0));
132132
}
133133

134-
/**
135-
* @requires PHP 8
136-
*/
137134
public function testUnionServices()
138135
{
139136
$container = new ContainerBuilder();
@@ -310,9 +307,6 @@ public function method()
310307
$subscriber::getSubscribedServices();
311308
}
312309

313-
/**
314-
* @requires PHP 8
315-
*/
316310
public function testServiceSubscriberTraitWithUnionReturnType()
317311
{
318312
if (!class_exists(SubscribedService::class)) {

src/Symfony/Component/Messenger/Tests/DependencyInjection/MessengerPassTest.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -540,9 +540,6 @@ public function testBuiltinArgumentTypeHandler()
540540
(new MessengerPass())->process($container);
541541
}
542542

543-
/**
544-
* @requires PHP 8
545-
*/
546543
public function testUnionTypeArgumentsTypeHandler()
547544
{
548545
$container = $this->getContainerBuilder($busId = 'message_bus');
@@ -561,9 +558,6 @@ public function testUnionTypeArgumentsTypeHandler()
561558
$this->assertHandlerDescriptor($container, $handlersMapping, DummyMessage::class, [UnionTypeArgumentHandler::class]);
562559
}
563560

564-
/**
565-
* @requires PHP 8
566-
*/
567561
public function testUnionBuiltinArgumentTypeHandler()
568562
{
569563
$this->expectException(RuntimeException::class);

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ public function testGroupsAreNullByDefault()
3535
$this->assertNull($constraint->groups);
3636
}
3737

38-
/**
39-
* @requires PHP 8
40-
*/
4138
public function testAttributes()
4239
{
4340
$metadata = new ClassMetaData(ValidDummy::class);

0 commit comments

Comments
 (0)
0