Skip to content

Commit f9094db

Browse files
committed
Removed deprecated utf8_decode() function
1 parent 8669430 commit f9094db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Fixer/FixerMethods.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ private function indentationPointLength(int $newLine, int $assign): int
5252

5353
private function codeLength(string $code): int
5454
{
55-
return strlen(utf8_decode(ltrim($code, "\n")));
55+
return mb_strlen(ltrim($code, "\n"));
5656
}
5757

5858
private function indentationToken(int $length, int $lineBreaks = 0): Token

0 commit comments

Comments
 (0)