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 a6979ae commit 89e1046Copy full SHA for 89e1046
Tools/Generator.php
@@ -23,7 +23,7 @@ class Generator
23
24
public function __construct()
25
{
26
- $this->nl = strtoupper(substr(PHP_OS, 0, 3)) === "\r\n" : "\n";
+ $this->nl = strtoupper(substr(PHP_OS, 0, 3)) === 'WIN' ? "\r\n" : "\n";
27
}
28
29
public function makeClasses(string $version, array $paths) : void
0 commit comments