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 aa9cc3f commit d8bbaf8Copy full SHA for d8bbaf8
tests/PHPStan/Analyser/AnalyserIntegrationTest.php
@@ -1483,6 +1483,10 @@ public function testBug11913(): void
1483
1484
public function testBug12083InArrayEnum(): void
1485
{
1486
+ if (PHP_VERSION_ID < 80100) {
1487
+ $this->markTestSkipped('Test requires PHP 8.1.');
1488
+ }
1489
+
1490
$errors = $this->runAnalyse(__DIR__ . '/data/enum-in-array.php');
1491
1492
$filteredErrors = array_filter($errors, static fn (Error $error): bool => $error->getIdentifier() !== 'function.alreadyNarrowedType'
0 commit comments