Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Dec 9, 2024
1 parent acb109f commit 28cac3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/PHPStan/Rules/Keywords/RequireFileExistsRuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use function implode;
use function realpath;
use function set_include_path;
use const DIRECTORY_SEPARATOR;
use const PATH_SEPARATOR;

/**
Expand Down Expand Up @@ -129,7 +130,7 @@ public function testBug12203(): void
5,
],
[
'Path in require_once() "' . __DIR__ . '/data/../bug-12203-sure-does-not-exist.php" is not a file or it does not exist.',
'Path in require_once() "' . __DIR__ . DIRECTORY_SEPARATOR . 'data/../bug-12203-sure-does-not-exist.php" is not a file or it does not exist.',
6,
],
]);
Expand Down

0 comments on commit 28cac3b

Please sign in to comment.