Skip to content

Commit 2a200be

Browse files
committed
Fix test
1 parent 2f70d9f commit 2a200be

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/PHPStan/Rules/Methods/OverridingMethodRuleTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -814,6 +814,10 @@ public function testBug9524(): void
814814

815815
public function testSimpleXmlElementChildClass(): void
816816
{
817+
if (PHP_VERSION_ID < 80000) {
818+
$this->markTestSkipped('Test requires PHP 8.0.');
819+
}
820+
817821
$this->phpVersionId = PHP_VERSION_ID;
818822
$this->analyse([__DIR__ . '/data/simple-xml-element-child.php'], []);
819823
}

0 commit comments

Comments
 (0)