Skip to content
Extraits de code Groupes Projets
Valider e67b23f6 rédigé par sgiehl's avatar sgiehl Validation de Stefan Giehl
Parcourir les fichiers

prevent output from beeing cut off

parent 61950f7c
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -47,13 +47,13 @@ class Run extends ConsoleCommand ...@@ -47,13 +47,13 @@ class Run extends ConsoleCommand
} }
if (count($items) === 1) { if (count($items) === 1) {
$output->writeln($result->getLabel() . ': ' . $this->formatItem($items[0]), OutputInterface::OUTPUT_PLAIN); $output->writeln($result->getLabel() . ': ' . $this->formatItem($items[0]), OutputInterface::OUTPUT_NORMAL);
continue; continue;
} }
$output->writeln($result->getLabel() . ':'); $output->writeln($result->getLabel() . ':');
foreach ($items as $item) { foreach ($items as $item) {
$output->writeln("\t- " . $this->formatItem($item), OutputInterface::OUTPUT_PLAIN); $output->writeln("\t- " . $this->formatItem($item), OutputInterface::OUTPUT_NORMAL);
} }
} }
...@@ -82,7 +82,7 @@ class Run extends ConsoleCommand ...@@ -82,7 +82,7 @@ class Run extends ConsoleCommand
'<%s>%s %s</%s>', '<%s>%s %s</%s>',
$tag, $tag,
strtoupper($item->getStatus()), strtoupper($item->getStatus()),
preg_replace('/\<br\s*\/?\>/i', "\n", $item->getComment()), preg_replace('%</?[a-z][a-z0-9]*[^<>]*>%sim', '', preg_replace('/\<br\s*\/?\>/i', "\n", $item->getComment())),
$tag $tag
); );
} }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter