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

Skip to content

[FrameworkBundle][TranslationUpdateCommand] Do not output positive feedback on stderr #35170

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

Merged
merged 1 commit into from
Jan 7, 2020

Conversation

fancyweb
Copy link
Contributor

@fancyweb fancyweb commented Jan 2, 2020

Q A
Branch? 3.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets #34865 (comment)
License MIT
Doc PR -

Outputing everything on stderr seems wrong. I'm going to check upper branches.

@nicolas-grekas
Copy link
Member

Maybe not relevant for this specific command, but outputting informational messages on stderr is often quite legit: when the command produces technically useful output (compared to info messages which are useful only for human readers), then these should be split to stdout/stderr.

Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this PR?

@fancyweb
Copy link
Contributor Author

fancyweb commented Jan 5, 2020

Why this PR?

Because all other commands output this kind of things on stdout which seems better to me. Let's be consistent.

@fancyweb fancyweb force-pushed the command-error-io-to-io branch from f5e0d81 to 87212e4 Compare January 6, 2020 11:27
@fabpot
Copy link
Member

fabpot commented Jan 7, 2020

Thank you @fancyweb.

fabpot added a commit that referenced this pull request Jan 7, 2020
…positive feedback on stderr (fancyweb)

This PR was merged into the 3.4 branch.

Discussion
----------

[FrameworkBundle][TranslationUpdateCommand] Do not output positive feedback on stderr

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | #34865 (comment)
| License       | MIT
| Doc PR        | -

Outputing everything on stderr seems wrong. I'm going to check upper branches.

Commits
-------

87212e4 [FrameworkBundle][TranslationUpdateCommand] Do not output positive feedback on stderr
@fabpot fabpot merged commit 87212e4 into symfony:3.4 Jan 7, 2020
@fancyweb fancyweb deleted the command-error-io-to-io branch January 7, 2020 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants