-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
5.2.6 breaks progress bar when unicode characters are in message #40633
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
Comments
I can confirm that changing |
Yeah so this change:
Actually causes |
Thank you for the report and the PR. Fixed in #40698 |
Uh oh!
There was an error while loading. Please reload this page.
Symfony version(s) affected: 5.2.6
Description
5.2.6 included these changes to strlenWithoutDecoration() which break the progress bar when a unicode character is used as the progress bar character.
How to reproduce
This test case reproduces the issue: https://github.com/acquia/cli/blob/master/tests/phpunit/src/Commands/Pull/PullDatabaseCommandTest.php#L294
The progress bar length is incorrectly calculated and results in an error:
Possible Solution
Additional context
The text was updated successfully, but these errors were encountered: