Skip to content

Commit 1c16c36

Browse files
committed
Fix
1 parent 3f75d8a commit 1c16c36

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/PHPStan/Analyser/AnalyserIntegrationTest.php

+3
Original file line numberDiff line numberDiff line change
@@ -762,6 +762,9 @@ public function testBug7135(): void
762762
if (PHP_VERSION_ID < 80100) {
763763
$this->markTestSkipped('Test requires PHP 8.1.');
764764
}
765+
if (!self::$useStaticReflectionProvider) {
766+
$this->markTestSkipped('Test requires static reflection.');
767+
}
765768

766769
$errors = $this->runAnalyse(__DIR__ . '/data/bug-7135.php');
767770
$this->assertCount(1, $errors);

0 commit comments

Comments
 (0)