This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Console/Helper
Fabien Potencier ce60be5729 bug #15794 [Console] default to stderr in the console helpers (alcohol)
This PR was squashed before being merged into the 2.3 branch (closes #15794).

Discussion
----------

[Console] default to stderr in the console helpers

Interactive input/output and informational output such as progress should go to `stderr` if available.

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

See #13730 also for previous discussion.

If someone explicitly wants to use `stdout`, they can simply pass `$output->getStream()` instead of `$output` in most use-cases.

Commits
-------

3d4e95e [Console] default to stderr in the console helpers
2016-03-04 10:20:54 +01:00
..
DescriptorHelper.php [2.3] CS And DocBlock Fixes 2014-12-22 16:58:09 +01:00
DialogHelper.php bug #15794 [Console] default to stderr in the console helpers (alcohol) 2016-03-04 10:20:54 +01:00
FormatterHelper.php [2.3] Remove most refs uses 2015-03-07 13:18:29 +01:00
Helper.php Use mb_detect_encoding with $strict = true 2015-10-28 00:14:24 +01:00
HelperInterface.php remove api tags from code 2015-09-28 19:11:22 +02:00
HelperSet.php Docblock fixes 2014-11-30 13:33:44 +00:00
ProgressHelper.php [Console] default to stderr in the console helpers 2016-03-04 10:20:49 +01:00
TableHelper.php [2.3] Static Code Analysis for Components 2016-01-12 12:31:34 +01:00