Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Console] Styles do not respect stderr #15986

Copy link
Copy link
Closed
@Tobion

Description

@Tobion
Issue body actions

The problem is that Styles like the SymfonyStyle do not use stderr when appropriate.
Errors and diagnostic and interactive messages that are not meant as actual ouput of the command should go to stderr. For background info see http://www.jstorimer.com/blogs/workingwithcode/7766119-when-to-use-stderr-instead-of-stdout

For this we merged #15795 to help people use the right one by default. But this will not take effect when using the styles currently, e.g. when using askQuestion in https://github.com/symfony/symfony/blob/2.8/src/Symfony/Component/Console/Style/SymfonyStyle.php#L330

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.