Skip to content

Commit f0c7ef7

Browse files
committed
Test: skip include plugin on PHP < 8
1 parent 0f59733 commit f0c7ef7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

_test/OutputTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ class OutputTest extends StructTest
1818

1919
public function setUp(): void
2020
{
21+
if (PHP_MAJOR_VERSION < 8) {
22+
$this->markTestSkipped("Include plugin requires PHP >= 8, skipping test.");
23+
}
24+
2125
parent::setUp();
2226

2327
$this->loadSchemaJSON('schema1');

0 commit comments

Comments
 (0)