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.
2 parents 8d00b11 + b4eefe3 commit 1ee2f61Copy full SHA for 1ee2f61
Tests/KernelTest.php
@@ -271,7 +271,7 @@ public function doStuff()
271
272
// Heredocs are preserved, making the output mixing Unix and Windows line
273
// endings, switching to "\n" everywhere on Windows to avoid failure.
274
- if (defined('PHP_WINDOWS_VERSION_MAJOR')) {
+ if ('\\' === DIRECTORY_SEPARATOR) {
275
$expected = str_replace("\r\n", "\n", $expected);
276
$output = str_replace("\r\n", "\n", $output);
277
}
0 commit comments