Skip to content

Commit 99cc3b3

Browse files
committed
Require php 8
Attributes are available since PHP 8.
1 parent eec8f55 commit 99cc3b3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Tests/DependencyInjection/DoctrineExtensionTest.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -764,12 +764,11 @@ public function testAnnotationsBundleMappingDetection(): void
764764
]);
765765
}
766766

767+
/**
768+
* @requires PHP 8
769+
*/
767770
public function testAttributesBundleMappingDetection(): void
768771
{
769-
if (PHP_VERSION_ID < 70400) {
770-
self::markTestSkipped('This test requires PHP 7.4.');
771-
}
772-
773772
$container = $this->getContainer(['AttributesBundle']);
774773
$extension = new DoctrineExtension();
775774

0 commit comments

Comments
 (0)