We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8669430 commit f9094dbCopy full SHA for f9094db
1 file changed
src/Fixer/FixerMethods.php
@@ -52,7 +52,7 @@ private function indentationPointLength(int $newLine, int $assign): int
52
53
private function codeLength(string $code): int
54
{
55
- return strlen(utf8_decode(ltrim($code, "\n")));
+ return mb_strlen(ltrim($code, "\n"));
56
}
57
58
private function indentationToken(int $length, int $lineBreaks = 0): Token
0 commit comments