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