Skip to content

Commit

Permalink
rebuild patch
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Jan 14, 2025
1 parent 4988af7 commit f615f2c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@
]
}
}
}
}
24 changes: 12 additions & 12 deletions patches/symfony-console-helper-helper-php.patch
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,25 @@
{
$string ??= '';

-// if (preg_match('//u', $string)) {
-// return (new UnicodeString($string))->width(false);
-// }
+ if (preg_match('//u', $string)) {
+ return (new UnicodeString($string))->width(false);
+ }
- if (preg_match('//u', $string)) {
- return (new UnicodeString($string))->width(false);
- }
+// if (preg_match('//u', $string)) {
+// return (new UnicodeString($string))->width(false);
+// }

if (false === $encoding = mb_detect_encoding($string, null, true)) {
return \strlen($string);
@@ -66,9 +66,9 @@
{
$string ??= '';

-// if (preg_match('//u', $string)) {
-// return (new UnicodeString($string))->length();
-// }
+ if (preg_match('//u', $string)) {
+ return (new UnicodeString($string))->length();
+ }
- if (preg_match('//u', $string)) {
- return (new UnicodeString($string))->length();
- }
+// if (preg_match('//u', $string)) {
+// return (new UnicodeString($string))->length();
+// }

if (false === $encoding = mb_detect_encoding($string, null, true)) {
return \strlen($string);

0 comments on commit f615f2c

Please sign in to comment.