Skip to content

Commit 232bc14

Browse files
committed
wip
1 parent 6f26547 commit 232bc14

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/PhpGenerator/Extractor.extractPropertyHookBodies.phpt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ use Tester\Assert;
77

88
require __DIR__ . '/../bootstrap.php';
99

10+
if (!class_exists(PhpParser\Node\PropertyHook::class)) {
11+
Tester\Environment::skip('Requires newer PhpParser.');
12+
}
1013

1114
$extractor = new Extractor(<<<'XX'
1215
<?php

0 commit comments

Comments
 (0)