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 fa872c8 commit 1bc2fecCopy full SHA for 1bc2fec
Tests/KernelTest.php
@@ -341,7 +341,7 @@ public function doStuff()
341
342
// Heredocs are preserved, making the output mixing Unix and Windows line
343
// endings, switching to "\n" everywhere on Windows to avoid failure.
344
- if (defined('PHP_WINDOWS_VERSION_MAJOR')) {
+ if ('\\' === DIRECTORY_SEPARATOR) {
345
$expected = str_replace("\r\n", "\n", $expected);
346
$output = str_replace("\r\n", "\n", $output);
347
}
0 commit comments