diff --git a/Tests/DependencyInjection/DoctrineExtensionTest.php b/Tests/DependencyInjection/DoctrineExtensionTest.php index 02dc4be0b..f3fcf23ea 100644 --- a/Tests/DependencyInjection/DoctrineExtensionTest.php +++ b/Tests/DependencyInjection/DoctrineExtensionTest.php @@ -764,12 +764,11 @@ public function testAnnotationsBundleMappingDetection(): void ]); } + /** + * @requires PHP 8 + */ public function testAttributesBundleMappingDetection(): void { - if (PHP_VERSION_ID < 70400) { - self::markTestSkipped('This test requires PHP 7.4.'); - } - $container = $this->getContainer(['AttributesBundle']); $extension = new DoctrineExtension();