Skip to content

Commit 3ad82c9

Browse files
committed
Fix test __toString() without return on php 7.4
1 parent 44215e4 commit 3ad82c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/PHPStan/Analyser/NodeScopeResolverTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class NodeScopeResolverTest extends TypeInferenceTestCase
2626
private static function findTestFiles(): iterable
2727
{
2828
foreach (self::findTestDataFilesFromDirectory(__DIR__ . '/nsrt') as $testFile) {
29-
if (str_ends_with($testFile, 'tests/PHPStan/Analyser/nsrt/bug-2471.php') && PHP_VERSION_ID < 80000) {
29+
if (str_ends_with($testFile, 'bug-2471.php') && PHP_VERSION_ID < 80000) {
3030
continue;
3131
}
3232

0 commit comments

Comments
 (0)