-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Console] Table vertical rendering #41676
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
Having 2 booleans named |
I agree with you @stof |
15e9ab8
to
a37528e
Compare
d4a17b9
to
69b28e8
Compare
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.
Would love to have it in v5.4 :)
69b28e8
to
1221afe
Compare
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.
That's a cool feature. Can you rebase it on 6.1 and adapt the syntax with PHP 8.1 capabilities?
1221afe
to
1ed9549
Compare
Thanks for your review @GromNaN |
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.
Nice feature! Thanks Yoann.
@yoannrenard Can you please rebase again on 6.1? |
1ed9549
to
defd326
Compare
Using an enum instead of 2 separated booleans Rephrase changelog for better consistency
defd326
to
15fa4c5
Compare
Thank you @yoannrenard. |
You are welcome @GromNaN |
…ering (nicolas-grekas) This PR was merged into the 6.1 branch. Discussion ---------- [Console] fix CS for code related to Table vertical rendering | Q | A | ------------- | --- | Branch? | 6.1 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - A quick review of #41676 made me submit this. Commits ------- 41ff71e [Console] fix CS for code related to Table vertical rendering
This PR adds a way to render Console Tables vertically. This is inspired by the way MySQL and PostgreSQL do with the '\G' command terminator.
For example, if we use this vertical rendering for the command
debug:validator
, the command would show something like:Instead of :
Which is hard to read.