Skip to content

Commit

Permalink
Require static reflection
Browse files Browse the repository at this point in the history
  • Loading branch information
rvanvelzen committed Apr 29, 2022
1 parent 465867b commit 8c62388
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/PHPStan/Analyser/AnalyserIntegrationTest.php
Expand Up @@ -784,6 +784,9 @@ public function testDiscussion7124(): void
if (PHP_VERSION_ID < 80000) {
$this->markTestSkipped('Test requires PHP 8.0.');
}
if (!self::$useStaticReflectionProvider) {
$this->markTestSkipped('Test requires static reflection.');
}

$errors = $this->runAnalyse(__DIR__ . '/data/discussion-7124.php');
$this->assertCount(4, $errors);
Expand Down

0 comments on commit 8c62388

Please sign in to comment.