We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4025209 commit 5c71ab2Copy full SHA for 5c71ab2
tests/PHPStan/Analyser/AnalyserIntegrationTest.php
@@ -1077,6 +1077,10 @@ public function testBug8503(): void
1077
1078
public function testBug8537(): void
1079
{
1080
+ if (PHP_VERSION_ID < 80000) {
1081
+ $this->markTestSkipped('Test requires PHP 8.0.');
1082
+ }
1083
+
1084
$errors = $this->runAnalyse(__DIR__ . '/data/bug-8537.php');
1085
$this->assertNoErrors($errors);
1086
}
tests/PHPStan/Analyser/data/bug-8537.php
@@ -1,4 +1,4 @@
1
-<?php
+<?php // lint >= 8.0
2
3
namespace Bug8537;
4
0 commit comments