Skip to content

Commit

Permalink
skip attribute driver for php lower than 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ixarlie committed Jan 13, 2024
1 parent 312caef commit c247512
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@

class AttributeDriverTest extends AbstractDriverTest
{
public function setUp(): void
{
if (PHP_VERSION_ID < 80100) {
$this->markTestSkipped('AttributeDriver is available as of PHP 8.1.0');
}
}

public function createDriver()
{
return new AttributeDriver(
Expand Down

0 comments on commit c247512

Please sign in to comment.