-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Applied the new styles to the router: commands #14132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Nice work! Let me know if you need help with any. Perhaps a checklist would be useful. |
{ | ||
$requirements = $route->getRequirements(); | ||
|
||
$output->table( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is no ->table()
method in the OutputInterface. so the typehint looks weird
…s methods (ogizanagi) This PR was merged into the 3.0-dev branch. Discussion ---------- [3.0][Console][OutputStyle] Implements verbosity levels methods | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | N/A - Travis build for #14032 | License | MIT Implements the verbosity level methods from `OutputInterface` for the new `OutputStyle` abstract class in 3.0 branch. Fixes Travis builds with `deps=high` env var for #14032 PR and future console style updates. ========= Related to: #14032, #14057, #14138, #14132, #14172, ... Commits ------- a30f507 [Console] [OutputStyle] Implements verbosity methods
@javiereguiluz the screenshots show a |
array_unshift($description, '<comment>Name</comment> '.$options['name']); | ||
array_unshift($description, $this->formatSection('router', sprintf('Route "%s"', $options['name']))); | ||
if (isset($options['output_helper'])) { | ||
$options['output_helper']->table($tableHeaders, $tableRows); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This option doesn't seem to be used?!
What's the status of this PR? |
I've updated this PR to remove the unneeded option pointed by @Tobion. |
Thank you @javiereguiluz. |
This PR was merged into the 2.8 branch. Discussion ---------- [FrameworkBundle] Fix tests | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - #14132 missed tests updates Commits ------- 5549f4c [FrameworkBundle] Fix tests
Here are some screenshots comparing these commands before/after.
debug:router
debug:router --show-controllers
debug:router admin_post_delete
router:match - no match
router:match - almost match
router:match - exact match
Deprecated router:dump-apache