-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[WIP][Console] Set box
style table as default
#26596
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
Conversation
maidmaid
commented
Mar 19, 2018
Q | A |
---|---|
Branch? | master |
Bug fix? | no |
New feature? | yes |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | #25456 (review) |
License | MIT |
Doc PR | / |
box
style table as defaultbox
style table as default
Can anyone actually try on Windows? Because here, this is UTF-8, but these characters require CP437 on Windows, which we do not output AFAIK. |
I thought it was already tested on Windows. But indeed, a confirmation would be great. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I confirm unicode characters are not supported on cmd.com
. It works with the xterm one. What could work on both Linux and Windows is using box
when preg_match('/utf-?8/i', getenv('LANG'))
.
@@ -130,6 +130,10 @@ public static function getStyleDefinition($name) | |||
*/ | |||
public function setStyle($name) | |||
{ | |||
if ('symfony-style-guide' === $name) { | |||
@trigger_error(sprintf('Style symfony-style-guide is deprecated since Symfony 4.1.', __METHOD__), E_USER_DEPRECATED); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "box" style doesn't work on Windows cmd.com
terminal, so we cannot deprecate symfony-style-guide
.
@nicolas-grekas The most similar style to
|
No need to deprecate IMHO, the symfony-style-guide is still visually nice. |
Ah, I didn't realize that the default Symfony theme is not the console default. I would say that we don't need to change anything then. The current default looks great as is and works everywhere. Sorry for asking for a change, I should have checked what we were using first. |
IMO, the My new suggestion is to use the |
I like consistency. So, I'd recommend to close this PR. Sorry for making you work on this one. My mistake. |
👍 for closing |