Skip to content

[Console] Wrong response content question multiline #58910

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

Open
alamirault opened this issue Nov 18, 2024 · 1 comment
Open

[Console] Wrong response content question multiline #58910

alamirault opened this issue Nov 18, 2024 · 1 comment

Comments

@alamirault
Copy link
Contributor

alamirault commented Nov 18, 2024

Symfony version(s) affected

6.4.* (same on 7.1.*)

Description

Hello,

When I test multiline question with phpunit and CommandTester. Multiline question and next questions have invalid content.

Is there a bug, or something to do ?

Probably same question #58379

How to reproduce

https://github.com/alamirault/symfony-command-multiline

Run ./vendor/bin/phpunit tests/Integration/Command/BadCommandTest.php to see failed test.

Expected is
image

But currently is

image

Possible Solution

No response

Additional Context

No response

@carsonbot
Copy link

Hey, thanks for your report!
There has not been a lot of activity here for a while. Is this bug still relevant? Have you managed to find a workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants