Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Nov 11, 2024
1 parent 2f70d9f commit 2a200be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/PHPStan/Rules/Methods/OverridingMethodRuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -814,6 +814,10 @@ public function testBug9524(): void

public function testSimpleXmlElementChildClass(): void
{
if (PHP_VERSION_ID < 80000) {
$this->markTestSkipped('Test requires PHP 8.0.');
}

$this->phpVersionId = PHP_VERSION_ID;
$this->analyse([__DIR__ . '/data/simple-xml-element-child.php'], []);
}
Expand Down

0 comments on commit 2a200be

Please sign in to comment.