Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Console] [Table] Fix unnecessary wrapping#61268

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@schlndh
Copy link
Contributor

QA
Branch?6.4
Bug fix?yes
New feature?no
Deprecations?no
Issues
LicenseMIT

This PR fixes unnecessary wrapping of Table cells which contain newlines.

Example:

<?phprequire_once__DIR__ .'/vendor/autoload.php';$output =new \Symfony\Component\Console\Output\ConsoleOutput();$table =new \Symfony\Component\Console\Helper\Table($output);$table->setColumnMaxWidth(0,20);$table->addRow(["First line: <info>1234</info>\nSecond line: 4568"]);$table->render();
6.4This PR
symfony_table_64symfony_table_fixed

@schlndhschlndh requested a review fromchalasr as acode ownerJuly 30, 2025 09:51
@carsonbotcarsonbot added this to the6.4 milestoneJul 30, 2025
@carsonbotcarsonbot changed the title[Console][Table] Fix unnecessary wrapping[Console] [Table] Fix unnecessary wrappingJul 30, 2025
@schlndhschlndhforce-pushed thefix-unnecessaryConsoleWrapping branch from45fe9eb to441ee73CompareJuly 30, 2025 10:39
@nicolas-grekas
Copy link
Member

Thank you@schlndh.

schlndh reacted with thumbs up emoji

@nicolas-grekasnicolas-grekas merged commit131f7d2 intosymfony:6.4Jul 30, 2025
10 of 11 checks passed
@schlndhschlndh deleted the fix-unnecessaryConsoleWrapping branchJuly 30, 2025 12:17
This was referencedJul 31, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas left review comments

@chalasrchalasrAwaiting requested review from chalasrchalasr is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

6.4

Development

Successfully merging this pull request may close these issues.

3 participants

@schlndh@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp