Skip to content

Commit 9624524

Browse files
committed
more tests
1 parent ff83f93 commit 9624524

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/PHPStan/Analyser/nsrt/ini-get.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,10 @@ function doFoo() {
3232
} else {
3333
assertType('string|false', ini_get("max_memory_limit"));
3434
}
35-
assertType('string|false', ini_get("max_memory_limit"));
35+
if (PHP_VERSION_ID >= 80300) {
36+
assertType('string|false', ini_get("max_memory_limit"));
37+
}
38+
if (PHP_VERSION_ID < 80300) {
39+
assertType('string|false', ini_get("max_memory_limit"));
40+
}
3641
}

0 commit comments

Comments
 (0)