Skip to content

Commit b4d3410

Browse files
Move to nsrt
1 parent 647fc09 commit b4d3410

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

tests/PHPStan/Analyser/NodeScopeResolverTest.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,6 @@ private static function findTestFiles(): iterable
5757
yield __DIR__ . '/data/explode-php80.php';
5858
}
5959

60-
if (PHP_VERSION_ID < 80000) {
61-
yield __DIR__ . '/data/getenv-php74.php';
62-
} else {
63-
yield __DIR__ . '/data/getenv-php80.php';
64-
}
65-
6660
if (PHP_VERSION_ID >= 80000) {
6761
yield __DIR__ . '/../Reflection/data/unionTypes.php';
6862
yield __DIR__ . '/../Reflection/data/mixedType.php';

tests/PHPStan/Analyser/data/getenv-php74.php renamed to tests/PHPStan/Analyser/nsrt/getenv-php74.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php
1+
<?php // lint <= 7.4
22

33
namespace GetenvPHP74;
44

tests/PHPStan/Analyser/data/getenv-php80.php renamed to tests/PHPStan/Analyser/nsrt/getenv-php80.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php
1+
<?php // lint >= 80
22

33
namespace GetenvPHP80;
44

0 commit comments

Comments
 (0)