Skip to content

Commit 468182d

Browse files
vranaondrejmirtes
authored andcommitted
NodeScopeResolverTest: strip dir on Windows
1 parent f6b6762 commit 468182d

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
@@ -236,7 +236,7 @@ private static function findTestFiles(): iterable
236236
*/
237237
public static function dataFile(): iterable
238238
{
239-
$base = dirname(__DIR__, 3) . '/';
239+
$base = dirname(__DIR__, 3) . DIRECTORY_SEPARATOR;
240240
$baseLength = strlen($base);
241241

242242
$fileHelper = new FileHelper($base);

0 commit comments

Comments
 (0)