We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acb109f commit 28cac3bCopy full SHA for 28cac3b
tests/PHPStan/Rules/Keywords/RequireFileExistsRuleTest.php
@@ -8,6 +8,7 @@
8
use function implode;
9
use function realpath;
10
use function set_include_path;
11
+use const DIRECTORY_SEPARATOR;
12
use const PATH_SEPARATOR;
13
14
/**
@@ -129,7 +130,7 @@ public function testBug12203(): void
129
130
5,
131
],
132
[
- 'Path in require_once() "' . __DIR__ . '/data/../bug-12203-sure-does-not-exist.php" is not a file or it does not exist.',
133
+ 'Path in require_once() "' . __DIR__ . DIRECTORY_SEPARATOR . 'data/../bug-12203-sure-does-not-exist.php" is not a file or it does not exist.',
134
6,
135
136
]);
0 commit comments