8000 symfony/console: the error message is displayed strangely · Issue #47862 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
symfony/console: the error message is displayed strangely #47862
@aleksandr-shevchenko

Description

@aleksandr-shevchenko

Symfony version(s) affected

6.1.6

Description

When a completely wrong command is entered, the error message is displayed correctly(as block).

When a command is entered with an error in the one letter and the console offers its own version of the command, the error message is displayed strangely, it seems that instead of
formatBlock($errorMessages, 'error', true);
you call some wrong code, so that the red color instead of a block spreads over the entire terminal.
ss_2022_10_14__13_59_52

How to reproduce

1.register one command 'clear-cache'
2.run with error 'console clear-cashe'

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

      0