Skip to content

Commit

Permalink
Require php 8
Browse files Browse the repository at this point in the history
Attributes are available since PHP 8.
  • Loading branch information
greg0ire committed Feb 12, 2022
1 parent eec8f55 commit 99cc3b3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Tests/DependencyInjection/DoctrineExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 99cc3b3

Please sign in to comment.