Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Console] Wrong response content question multiline #58910

Open
@alamirault

Description

@alamirault

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions