Skip to content
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

[Console] Fix horizontal table top border is incorrectly rendered #52132

Merged
merged 1 commit into from Oct 31, 2023

Conversation

OskarStark
Copy link
Contributor

@OskarStark OskarStark commented Oct 18, 2023

Q A
Branch? 6.3
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #52101
License MIT

cc @alainrinder

@OskarStark
Copy link
Contributor Author

Fabbot is false positive

@GromNaN
Copy link
Member

GromNaN commented Oct 18, 2023

The issue might be with unicode characters. Could you add an emoji in the values?

@OskarStark
Copy link
Contributor Author

The issue might be with unicode characters. Could you add an emoji in the values?

Lets try the fix from the bug report

@OskarStark OskarStark changed the title [Console] Add tests [Console] Fix table rendering Oct 18, 2023
@OskarStark OskarStark self-assigned this Oct 18, 2023
@OskarStark
Copy link
Contributor Author

What's the difference here?
CleanShot 2023-10-18 at 11 47 39@2x

@OskarStark OskarStark changed the title [Console] Fix table rendering [Console] Fix horizontal table top border is incorrectly rendered Oct 19, 2023
@@ -411,7 +411,7 @@ public function render()

if ($isHeader && !$isHeaderSeparatorRendered) {
$this->renderRowSeparator(
$isHeader ? self::SEPARATOR_TOP : self::SEPARATOR_TOP_BOTTOM,
self::SEPARATOR_TOP,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed this, because $isHeader is always true

@nicolas-grekas
Copy link
Member

Thank you @OskarStark.

@nicolas-grekas nicolas-grekas merged commit 7a59ef0 into symfony:6.3 Oct 31, 2023
4 of 9 checks passed
@OskarStark OskarStark deleted the fix/console-table-border branch October 31, 2023 08:13
renovate bot added a commit to Lendable/composer-license-checker that referenced this pull request Nov 13, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [symfony/console](https://symfony.com)
([source](https://togithub.com/symfony/console)) | `6.3.4` -> `6.3.8` |
[![age](https://developer.mend.io/api/mc/badges/age/packagist/symfony%2fconsole/6.3.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/packagist/symfony%2fconsole/6.3.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/packagist/symfony%2fconsole/6.3.4/6.3.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/symfony%2fconsole/6.3.4/6.3.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>symfony/console (symfony/console)</summary>

### [`v6.3.8`](https://togithub.com/symfony/console/releases/tag/v6.3.8)

[Compare
Source](https://togithub.com/symfony/console/compare/v6.3.4...v6.3.8)

**Changelog**
(symfony/console@v6.3.7...v6.3.8)

- bug
[symfony/symfony#52132](https://togithub.com/symfony/symfony/issues/52132)
\[Console] Fix horizontal table top border is incorrectly rendered
([@&#8203;OskarStark](https://togithub.com/OskarStark))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Lendable/composer-license-checker).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuNDYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.

None yet

6 participants