Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2016-02-22 18:04:56 +0300
committermattab <matthieu.aubry@gmail.com>2016-02-22 18:04:56 +0300
commitcb270d9812b2b1f459ee45ac157e8a3fd28a06f0 (patch)
tree245d346e2afaf4cd62033ccb88b73c0e894a731d /core
parent19931b9ae1db5c10ddef7110f21b1e819815a7cf (diff)
Simplified console output and removed stars **********
Stars make reading the output harder
Diffstat (limited to 'core')
-rw-r--r--core/Plugin/ConsoleCommand.php9
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('');
}