Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Symfony version(s) affected: 3.4
Description Problem with stdout in class SymfonyQuestionHelper with multichoice
How to reproduce
<?php require_once 'vendor/autoload.php'; use Symfony\Component\Console\Helper\SymfonyQuestionHelper; use Symfony\Component\Console\Input\ArgvInput; use Symfony\Component\Console\Output\ConsoleOutput; use Symfony\Component\Console\Question\ChoiceQuestion; $in = new ArgvInput(); $out = new ConsoleOutput(); $dialog = new SymfonyQuestionHelper(); $heroes = ['Русский' => 'russian', 'żółw' => 'bar', 'super' => 'Superman']; $question = new ChoiceQuestion('What is your favorite superhero?', $heroes, 'super'); $question->setMultiselect(true); $res = $dialog->ask($in, $out, $question);
And output
> php test.php What is your favorite superhero? [Superman]: [Русский] russian [żółw ] bar [super ] Superman > super
But should be (Look at right brackets)
The text was updated successfully, but these errors were encountered:
#33911 fix this
Sorry, something went wrong.
Anybody?
bug #35000 [Console][SymfonyQuestionHelper] Handle multibytes questio…
ae9c41c
…n choices keys and custom prompt (fancyweb) This PR was merged into the 3.4 branch. Discussion ---------- [Console][SymfonyQuestionHelper] Handle multibytes question choices keys and custom prompt | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | #33928 | License | MIT | Doc PR | - Replaces / finishes #33911 Commits ------- f175032 [Console][SymfonyQuestionHelper] Handle multibytes question choices keys and custom prompt
No branches or pull requests
Symfony version(s) affected: 3.4
Description
Problem with stdout in class SymfonyQuestionHelper with multichoice
How to reproduce
And output
But should be (Look at right brackets)
The text was updated successfully, but these errors were encountered: