Skip to content

Commit 86ce2fd

Browse files
committed
Add PHP version check to PropertyHookInjectorTest for compatibility
1 parent 926d7d8 commit 86ce2fd

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/Visitor/PropertyHookInjectorTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
declare(strict_types=1);
44

5-
namespace TypePHP\Tests\Unit\Visitor;
5+
if (PHP_VERSION_ID < 80400) {
6+
return;
7+
}
68

79
use PhpParser\Node;
810
use TypePHP\Internal\Visitor\PropertyHookInjector;

0 commit comments

Comments
 (0)