-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[FrameworkBundle] show the unregistered command warning at the end of the list command #26288
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
Merged
fabpot
merged 1 commit into
symfony:master
from
Simperfit:feature/show-unregistered-warning-at-the-end
Mar 15, 2018
Merged
[FrameworkBundle] show the unregistered command warning at the end of the list command #26288
fabpot
merged 1 commit into
symfony:master
from
Simperfit:feature/show-unregistered-warning-at-the-end
Mar 15, 2018
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1d01cb1
to
9513d04
Compare
chalasr
requested changes
Feb 23, 2018
@@ -77,11 +78,17 @@ public function doRun(InputInterface $input, OutputInterface $output) | |||
*/ | |||
protected function doRunCommand(Command $command, InputInterface $input, OutputInterface $output) | |||
{ | |||
$parentRun = parent::doRunCommand($command, $input, $output); |
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 actually runs the command thus writes to the output no matter which command is ran, not good, should be called at the right place (don't assign)
6547e37
to
9302a4a
Compare
Status: Needs Review |
f6c7756
to
541f33d
Compare
chalasr
approved these changes
Feb 24, 2018
541f33d
to
9e0dfc3
Compare
Contributor
Author
Simperfit
commented
Mar 2, 2018
PR rebased |
Looks like some tests do not pass as a consequence of this change. |
… the list command
9e0dfc3
to
99b104a
Compare
chalasr
approved these changes
Mar 14, 2018
fabpot
approved these changes
Mar 15, 2018
Thank you @Simperfit. |
fabpot
added a commit
that referenced
this pull request
Mar 15, 2018
…g at the end of the list command (Simperfit) This PR was merged into the 4.1-dev branch. Discussion ---------- [FrameworkBundle] show the unregistered command warning at the end of the list command | Q | A | ------------- | --- | Branch? | 4.1 | Bug fix? | no | New feature? | yes <!-- don't forget to update src/**/CHANGELOG.md files --> | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no <!-- don't forget to update UPGRADE-*.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | #26203 <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | I don't think we need one. This PR modify the warning error when you have unregistered command on the list command, it shows it at the end. Commits ------- 99b104a [FrameworkBundle] show the unregistered command warning at the end of the list command
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR modify the warning error when you have unregistered command on the list command, it shows it at the end.