Completed
Push — master ( 56f604...098737 )
by Lars
02:55
created
src/voku/helper/UTF8.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -977,16 +977,16 @@  discard block
 block discarded – undo
977 977
       $str = self::chr_and_parse_int($code_point);
978 978
     } elseif (0x800 > $code_point) {
979 979
       $str = self::chr_and_parse_int(0xC0 | $code_point >> 6) .
980
-             self::chr_and_parse_int(0x80 | $code_point & 0x3F);
980
+              self::chr_and_parse_int(0x80 | $code_point & 0x3F);
981 981
     } elseif (0x10000 > $code_point) {
982 982
       $str = self::chr_and_parse_int(0xE0 | $code_point >> 12) .
983
-             self::chr_and_parse_int(0x80 | $code_point >> 6 & 0x3F) .
984
-             self::chr_and_parse_int(0x80 | $code_point & 0x3F);
983
+              self::chr_and_parse_int(0x80 | $code_point >> 6 & 0x3F) .
984
+              self::chr_and_parse_int(0x80 | $code_point & 0x3F);
985 985
     } else {
986 986
       $str = self::chr_and_parse_int(0xF0 | $code_point >> 18) .
987
-             self::chr_and_parse_int(0x80 | $code_point >> 12 & 0x3F) .
988
-             self::chr_and_parse_int(0x80 | $code_point >> 6 & 0x3F) .
989
-             self::chr_and_parse_int(0x80 | $code_point & 0x3F);
987
+              self::chr_and_parse_int(0x80 | $code_point >> 12 & 0x3F) .
988
+              self::chr_and_parse_int(0x80 | $code_point >> 6 & 0x3F) .
989
+              self::chr_and_parse_int(0x80 | $code_point & 0x3F);
990 990
     }
991 991
 
992 992
     if ($encoding !== 'UTF-8') {
@@ -5947,7 +5947,7 @@  discard block
 block discarded – undo
5947 5947
 
5948 5948
         $langCode = $lang . '-Lower';
5949 5949
         if (!in_array($langCode, self::$SUPPORT['intl__transliterator_list_ids'], true)) {
5950
-           $langCode = 'Any-Lower';
5950
+            $langCode = 'Any-Lower';
5951 5951
         }
5952 5952
 
5953 5953
         return transliterator_transliterate($langCode, $str);
Please login to merge, or discard this patch.