From fe861ac36564c727b9851aeae573d41d388054c6 Mon Sep 17 00:00:00 2001 From: johnstevenson Date: Sat, 3 Sep 2016 18:51:26 +0100 Subject: [PATCH] Ensure consistent eols in tmp ini --- src/Composer/XdebugHandler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } }