8000 Seven wins the fight ... for now ... :) · symfony/symfony@ddde74f · GitHub
[go: up one dir, main page]

Skip to content

Commit ddde74f

Browse files
committed
Seven wins the fight ... for now ... :)
1 parent 7cd2b29 commit ddde74f

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/Symfony/Bridge/Twig/Command/DebugCommand.php

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace Symfony\Bridge\Twig\Command;
1313

1414
use Symfony\Component\Console\Command\Command;
15-
use Symfony\Component\Console\Helper\TableSeparator;
1615
use Symfony\Component\Console\Input\InputArgument;
1716
use Symfony\Component\Console\Input\InputOption;
1817
use Symfony\Component\Console\Input\InputInterface;
@@ -153,11 +152,16 @@ protected function execute(InputInterface $input, OutputInterface $output)
153152

154153
$rows = array();
155154
foreach ($this->getLoaderPaths() as $namespace => $paths) {
155+
if (count($paths) > 1) {
156+
$rows[] = array('', '');
157+
}
156158
foreach ($paths as $path) {
157-
$rows[] = array($namespace, '* '.$path);
159+
$rows[] = array($namespace, '- '.$path);
158160
$namespace = '';
159161
}
160-
$rows[] = new TableSeparator();
162+
if (count($paths) > 1) {
163+
$rows[] = array('', '');
164+
}
161165
}
162166
array_pop($rows);
163167
$io->section('Loader Paths');

0 commit comments

Comments
 (0)
0