From 99cc3b3d83b9d5a9f4db57f4800bc03694e8dda6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Paris?= Date: Sat, 12 Feb 2022 22:12:24 +0100 Subject: [PATCH] Require php 8 Attributes are available since PHP 8. --- Tests/DependencyInjection/DoctrineExtensionTest.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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();