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 a5083ab + a97b5ad commit b4eefe3Copy full SHA for b4eefe3
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