diff --git a/tests/PHPStan/Analyser/NodeScopeResolverTest.php b/tests/PHPStan/Analyser/NodeScopeResolverTest.php index 3545faad297..9679813a412 100644 --- a/tests/PHPStan/Analyser/NodeScopeResolverTest.php +++ b/tests/PHPStan/Analyser/NodeScopeResolverTest.php @@ -811,17 +811,13 @@ public function dataFileAsserts(): iterable yield from $this->gatherAssertTypes(__DIR__ . '/data/value-of-enum.php'); } - yield from $this->gatherAssertTypes(__DIR__ . '/data/in-array-non-empty.php'); - if (PHP_VERSION_ID >= 80000) { - yield from $this->gatherAssertTypes(__DIR__ . '/data/in-array-non-empty-php8.php'); - } - yield from $this->gatherAssertTypes(__DIR__ . '/data/bug-6584.php'); yield from $this->gatherAssertTypes(__DIR__ . '/data/bug-6439.php'); yield from $this->gatherAssertTypes(__DIR__ . '/data/bug-6748.php'); yield from $this->gatherAssertTypes(__DIR__ . '/data/array-search-type-specifying.php'); yield from $this->gatherAssertTypes(__DIR__ . '/data/array-replace.php'); yield from $this->gatherAssertTypes(__DIR__ . '/data/bug-6889.php'); + yield from $this->gatherAssertTypes(__DIR__ . '/data/in-array-non-empty.php'); } /**