Skip to content

Commit fb4e7b2

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

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
@@ -77,6 +77,10 @@ public function test_output()
7777

7878
public function test_include_missing_output()
7979
{
80+
if (PHP_MAJOR_VERSION < 8) {
81+
$this->markTestSkipped("Include plugin requires PHP >= 8, skipping test.");
82+
}
83+
8084
global $ID;
8185
$page = 'page01';
8286
$includedPage = 'foo';

0 commit comments

Comments
 (0)