1
0
Fork 0

Remove original indent if present, fixes #3143

pull/3365/head
Jordi Boggiano 2014-10-17 16:06:01 +01:00
parent 8a29c812e3
commit 9c32f24cfc
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ EOT
foreach ($errors as $path => $changes) {
if ($input->getOption('verbose')) {
$indentedChanges = implode("\n", array_map(function ($line) {
return ' ' . $line;
return ' ' . ltrim($line);
}, explode("\n", $changes)));
$output->writeln('<info>'.$path.'</info>:');
$output->writeln($indentedChanges);