Skip to content
This repository was archived by the owner on Dec 7, 2019. It is now read-only.

Commit 9189fc0

Browse files
committed
replaced PHP_EOL with \n
1 parent 44c88c2 commit 9189fc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ZFTool/Controller/ClassmapController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ public function generateAction()
190190
}
191191

192192
$content = preg_replace_callback('(\n\s+([^=]+)=>)', function ($match) use ($maxWidth) {
193-
return PHP_EOL . ' ' . $match[1] . str_repeat(' ', $maxWidth - strlen($match[1])) . '=>';
193+
return "\n " . $match[1] . str_repeat(' ', $maxWidth - strlen($match[1])) . '=>';
194194
}, $content);
195195

196196
if (!$usingStdout) {

0 commit comments

Comments
 (0)