Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jan 5, 2025
1 parent 7dc98b6 commit 7f90fec
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use PHPStan\Rules\Rule;
use PHPStan\Testing\RuleTestCase;
use const PHP_VERSION_ID;

/**
* @extends RuleTestCase<MethodConditionalReturnTypeRule>
Expand Down Expand Up @@ -97,6 +98,10 @@ public function testBug7310(): void

public function testBug11939(): void
{
if (PHP_VERSION_ID < 80100) {
$this->markTestSkipped('Test requires PHP 8.1.');
}

$this->analyse([__DIR__ . '/data/bug-11939.php'], []);
}

Expand Down

0 comments on commit 7f90fec

Please sign in to comment.