1
0
Fork 0

Ensure consistent eols in tmp ini

pull/5580/head
johnstevenson 2016-09-03 18:51:26 +01:00
parent 89d6e6f0bd
commit fe861ac365
1 changed files with 2 additions and 2 deletions

View File

@ -175,7 +175,7 @@ class XdebugHandler
*/ */
private function getIniData($iniFile, $replace) private function getIniData($iniFile, $replace)
{ {
$data = str_repeat("\n", 3); $data = str_repeat(PHP_EOL, 3);
$data .= sprintf('; %s%s', $iniFile, PHP_EOL); $data .= sprintf('; %s%s', $iniFile, PHP_EOL);
$contents = file_get_contents($iniFile); $contents = file_get_contents($iniFile);
@ -318,7 +318,7 @@ class XdebugHandler
; Make any changes there because this data will not be used again. ; Make any changes there because this data will not be used again.
EOD; EOD;
$header .= str_repeat("\n", 50); $header .= str_repeat(PHP_EOL, 50);
return $header; return $header;
} }
} }