-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Console] New styles on commands #14172
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
if (false !== strpos($input->getFirstArgument(), ':d')) { | ||
$output->writeln('<comment>The use of "translation:debug" command is deprecated since version 2.7 and will be removed in 3.0. Use the "debug:translation" instead.</comment>'); | ||
$output->note('The use of "translation:debug" command is deprecated since version 2.7 and will be removed in 3.0. Use the "debug:translation" instead.'); |
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.
Maybe we should use ->caution()
for deprecations. After all, if you keep using this deprecated feature, sooner or later you'll loose it.
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.
agreed
…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
@94noni What's the status of this PR? |
@fabpot This PR has not moved since the last commit |
@94noni thanks for working on this. Sadly, since you created this pull request, the commands have changed a bit and this cannot be merged as it is. The updated version of the code is available in these two new pull requests: |
Hi,
I was just checking the new Console style API, and for testing purpose I've changed the server:*/translations:* commands.
If it's ok (see #14138) checklist, I can continue working on those easy changes (while allowing me to learn more about Symfony's built in commands).