diff options
author | mattab <matthieu.aubry@gmail.com> | 2016-02-22 18:04:56 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2016-02-22 18:04:56 +0300 |
commit | cb270d9812b2b1f459ee45ac157e8a3fd28a06f0 (patch) | |
tree | 245d346e2afaf4cd62033ccb88b73c0e894a731d /core/Plugin/ConsoleCommand.php | |
parent | 19931b9ae1db5c10ddef7110f21b1e819815a7cf (diff) |
Simplified console output and removed stars **********
Stars make reading the output harder
Diffstat (limited to 'core/Plugin/ConsoleCommand.php')
-rw-r--r-- | core/Plugin/ConsoleCommand.php | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/core/Plugin/ConsoleCommand.php b/core/Plugin/ConsoleCommand.php index 29e2fc65f6..91d18c5c77 100644 --- a/core/Plugin/ConsoleCommand.php +++ b/core/Plugin/ConsoleCommand.php @@ -21,19 +21,12 @@ class ConsoleCommand extends SymfonyCommand { public function writeSuccessMessage(OutputInterface $output, $messages) { - $lengths = array_map('strlen', $messages); - $maxLen = max($lengths) + 4; - - $separator = str_pad('', $maxLen, '*'); - $output->writeln(''); - $output->writeln('<info>' . $separator . '</info>'); foreach ($messages as $message) { - $output->writeln(' ' . $message . ' '); + $output->writeln('<info>' . $message . '</info>'); } - $output->writeln('<info>' . $separator . '</info>'); $output->writeln(''); } |