Skip to content

Commit 280b718

Browse files
committed
Works only on 8+
1 parent 1193ebb commit 280b718

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/PHPStan/Rules/Properties/TypesAssignedToPropertiesRuleTest.php

+4
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,10 @@ public function testBug6571(): void
703703

704704
public function testBug12565(): void
705705
{
706+
if (PHP_VERSION_ID < 80000) {
707+
$this->markTestSkipped('Test requires PHP 8.0.');
708+
}
709+
706710
$this->checkExplicitMixed = true;
707711
$this->analyse([__DIR__ . '/data/bug-12565.php'], []);
708712
}

0 commit comments

Comments
 (0)