Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c9e967f

Browse files
committed
merged branch inmarelibero/2.2-RouterDebug (PR #6948)
This PR was merged into the 2.2 branch. Commits ------- 95f0202 [FrameworkBundle] fixed wrong indentation on route debug output Discussion ---------- [FrameworkBundle] fixed wrong indentation on route debug output I'm not sure this is something to fix, but with this PR the debug output for a single route is like the lower part of the image, instead of the currently displayed upper part. ![output](https://f.cloud.github.com/assets/254808/120850/f2b6e8ce-6d43-11e2-9fdd-24200eb2e93b.jpg)
2 parents bf8b0f7 + 95f0202 commit c9e967f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Symfony/Bundle/FrameworkBundle/Command/RouterDebugCommand.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,10 @@ protected function outputRoute(OutputInterface $output, $name)
128128

129129
$output->writeln($this->getHelper('formatter')->formatSection('router', sprintf('Route "%s"', $name)));
130130

131-
$output->writeln(sprintf('<comment>Name</comment> %s', $name));
132-
$output->writeln(sprintf('<comment>Pattern</comment> %s', $route->getPath()));
133-
$output->writeln(sprintf('<comment>Host</comment> %s', $host));
134-
$output->writeln(sprintf('<comment>Class</comment> %s', get_class($route)));
131+
$output->writeln(sprintf('<comment>Name</comment> %s', $name));
132+
$output->writeln(sprintf('<comment>Pattern</comment> %s', $route->getPath()));
133+
$output->writeln(sprintf('<comment>Host</comment> %s', $host));
134+
$output->writeln(sprintf('<comment>Class</comment> %s', get_class($route)));
135135

136136
$defaults = '';
137137
$d = $route->getDefaults();

0 commit comments

Comments
 (0)