@@ -384,9 +384,6 @@ public function testTaggedServiceWithIndexAttributeAndDefaultMethodConfiguredVia
384
384
$ this ->assertSame (['bar_tab_class_with_defaultmethod ' => $ container ->get (BarTagClass::class), 'foo ' => $ container ->get (FooTagClass::class)], $ param );
385
385
}
386
386
387
- /**
388
- * @requires PHP 8
389
- */
390
387
public function testTaggedIteratorWithDefaultIndexMethodConfiguredViaAttribute ()
391
388
{
392
389
$ container = new ContainerBuilder ();
@@ -411,9 +408,6 @@ public function testTaggedIteratorWithDefaultIndexMethodConfiguredViaAttribute()
411
408
$ this ->assertSame (['bar_tag_class ' => $ container ->get (BarTagClass::class), 'foo_tag_class ' => $ container ->get (FooTagClass::class)], $ param );
412
409
}
413
410
414
- /**
415
- * @requires PHP 8
416
- */
417
411
public function testTaggedIteratorWithDefaultPriorityMethodConfiguredViaAttribute ()
418
412
{
419
413
$ container = new ContainerBuilder ();
@@ -438,9 +432,6 @@ public function testTaggedIteratorWithDefaultPriorityMethodConfiguredViaAttribut
438
432
$ this ->assertSame ([0 => $ container ->get (FooTagClass::class), 1 => $ container ->get (BarTagClass::class)], $ param );
439
433
}
440
434
441
- /**
442
- * @requires PHP 8
443
- */
444
435
public function testTaggedIteratorWithDefaultIndexMethodAndWithDefaultPriorityMethodConfiguredViaAttribute ()
445
436
{
446
437
$ container = new ContainerBuilder ();
@@ -491,9 +482,6 @@ public function testTaggedLocatorConfiguredViaAttribute()
491
482
self ::assertSame ($ container ->get (FooTagClass::class), $ locator ->get ('foo ' ));
492
483
}
493
484
494
- /**
495
- * @requires PHP 8
496
- */
497
485
public function testTaggedLocatorConfiguredViaAttributeWithoutIndex ()
498
486
{
499
487
$ container = new ContainerBuilder ();
@@ -520,9 +508,6 @@ public function testTaggedLocatorConfiguredViaAttributeWithoutIndex()
520
508
self ::assertSame ($ container ->get (FooTagClass::class), $ locator ->get (FooTagClass::class));
521
509
}
522
510
523
- /**
524
- * @requires PHP 8
525
- */
526
511
public function testTaggedLocatorWithDefaultIndexMethodConfiguredViaAttribute ()
527
512
{
528
513
$ container = new ContainerBuilder ();
@@ -549,9 +534,6 @@ public function testTaggedLocatorWithDefaultIndexMethodConfiguredViaAttribute()
549
534
self ::assertSame ($ container ->get (FooTagClass::class), $ locator ->get ('foo_tag_class ' ));
550
535
}
551
536
552
- /**
553
- * @requires PHP 8
554
- */
555
537
public function testTaggedLocatorWithDefaultPriorityMethodConfiguredViaAttribute ()
556
538
{
557
539
$ container = new ContainerBuilder ();
@@ -582,9 +564,6 @@ public function testTaggedLocatorWithDefaultPriorityMethodConfiguredViaAttribute
582
564
self ::assertSame ([FooTagClass::class, BarTagClass::class], array_keys ($ factories ->getValue ($ locator )));
583
565
}
584
566
585
- /**
586
- * @requires PHP 8
587
- */
588
567
public function testTaggedLocatorWithDefaultIndexMethodAndWithDefaultPriorityMethodConfiguredViaAttribute ()
589
568
{
590
569
$ container = new ContainerBuilder ();
@@ -617,9 +596,6 @@ public function testTaggedLocatorWithDefaultIndexMethodAndWithDefaultPriorityMet
617
596
self ::assertSame ($ container ->get (FooTagClass::class), $ locator ->get ('foo_tag_class ' ));
618
597
}
619
598
620
- /**
621
- * @requires PHP 8
622
- */
623
599
public function testNestedDefinitionWithAutoconfiguredConstructorArgument ()
624
600
{
625
601
$ container = new ContainerBuilder ();
@@ -904,9 +880,6 @@ static function (Definition $definition, CustomAutoconfiguration $attribute) {
904
880
], $ collector ->collectedTags );
905
881
}
906
882
907
- /**
908
- * @requires PHP 8
909
- */
910
883
public function testTagsViaAttributeOnPropertyMethodAndParameter ()
911
884
{
912
885
$ container = new ContainerBuilder ();
0 commit comments