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

Skip to content

[Console] Fix compact table style to avoid outputting a leading space #44915

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
Mar 16, 2022

Conversation

Seldaek
Copy link
Member

@Seldaek Seldaek commented Jan 5, 2022

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #...
License MIT
Doc PR symfony/symfony-docs#...

This changes the compact output from:

 a   b   \n
 foo bar \n

To:

a   b   \n
foo bar \n

Note the only difference is the leading space which is not there anymore.

IMO this is a much better default, but I do understand it changes something which has been as it is for ages, which may be considered a BC break more than a bugfix.

@stof
Copy link
Member

stof commented Jan 5, 2022

no change to the testsuite ? this looks suspicious to me

@Seldaek
Copy link
Member Author

Seldaek commented Jan 5, 2022

I'll fix the tests if this is acceptable. Sorry but don't want to waste time on that if it's going to be closed due to being seen as BC break.

@fabpot
Copy link
Member

fabpot commented Jan 9, 2022

That works for me! Please, go ahead with the tests :)

@fabpot
Copy link
Member

fabpot commented Feb 25, 2022

@Seldaek Any news?

@Seldaek
Copy link
Member Author

Seldaek commented Mar 16, 2022

Sorry, got lost in the inbox.. Rebased and fixed TableTest now.

@chalasr
Copy link
Member

chalasr commented Mar 16, 2022

Thank you @Seldaek.

@chalasr chalasr merged commit c1aa7b5 into symfony:4.4 Mar 16, 2022
This was referenced Apr 2, 2022
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.

5 participants