We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 584e1ad commit f12881cCopy full SHA for f12881c
patches/symfony-console-helper-helper-php.patch
@@ -0,0 +1,18 @@
1
+--- /dev/null
2
++++ ../Helper/Helper.php
3
+@@ -46,6 +46,7 @@
4
+ public static function width(?string $string): int
5
+ {
6
+ $string ??= '';
7
++ return \strlen($string);
8
+
9
+ if (preg_match('//u', $string)) {
10
+ return (new UnicodeString($string))->width(false);
11
+@@ -65,6 +66,7 @@
12
+ public static function length(?string $string): int
13
14
15
16
17
18
+ return (new UnicodeString($string))->length();
0 commit comments