We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e97439c commit 3fa575fCopy full SHA for 3fa575f
tests/PHPStan/Analyser/NodeScopeResolverTest.php
@@ -895,8 +895,11 @@ public function dataFileAsserts(): iterable
895
yield from $this->gatherAssertTypes(__DIR__ . '/data/mb-strlen-php73.php');
896
}
897
898
+ if (PHP_VERSION_ID >= 80000) {
899
+ yield from $this->gatherAssertTypes(__DIR__ . '/data/bug-7096.php');
900
+ }
901
+
902
yield from $this->gatherAssertTypes(__DIR__ . '/data/bug-7068.php');
- yield from $this->gatherAssertTypes(__DIR__ . '/data/bug-7096.php');
903
904
905
/**
tests/PHPStan/Analyser/data/bug-7096.php
@@ -1,4 +1,4 @@
1
-<?php
+<?php // lint >= 8.0
2
3
namespace Bug7096;
4
0 commit comments