Skip to content

Commit 1ccfcfe

Browse files
committed
turn test into a php 7.3 only test
1 parent d74d107 commit 1ccfcfe

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Diff for: tests/PHPStan/Analyser/NodeScopeResolverTest.php

+4
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,10 @@ public function dataFileAsserts(): iterable
172172
yield from $this->gatherAssertTypes(__DIR__ . '/../Rules/Comparison/data/bug-9499.php');
173173
}
174174

175+
if (PHP_VERSION_ID >= 70300 && PHP_VERSION_ID < 70400) {
176+
yield from $this->gatherAssertTypes(__DIR__ . '/data/preg_match_shapes_php73.php');
177+
}
178+
175179
yield from $this->gatherAssertTypes(__DIR__ . '/../Rules/PhpDoc/data/bug-8609-function.php');
176180
yield from $this->gatherAssertTypes(__DIR__ . '/../Rules/Comparison/data/bug-5365.php');
177181
yield from $this->gatherAssertTypes(__DIR__ . '/../Rules/Comparison/data/bug-6551.php');

0 commit comments

Comments
 (0)