@@ -985,16 +985,16 @@  | 
                                                    ||
| 985 | 985 | $str = self::chr_and_parse_int($code_point);  | 
                                                        
| 986 | 986 |      } elseif ($code_point <= 0x7FF) { | 
                                                        
| 987 | 987 | $str = self::chr_and_parse_int(($code_point >> 6) + 0xC0) .  | 
                                                        
| 988 | - self::chr_and_parse_int(($code_point & 0x3F) + 0x80);  | 
                                                        |
| 988 | + self::chr_and_parse_int(($code_point & 0x3F) + 0x80);  | 
                                                        |
| 989 | 989 |      } elseif ($code_point <= 0xFFFF) { | 
                                                        
| 990 | 990 | $str = self::chr_and_parse_int(($code_point >> 12) + 0xE0) .  | 
                                                        
| 991 | - self::chr_and_parse_int((($code_point >> 6) & 0x3F) + 0x80) .  | 
                                                        |
| 992 | - self::chr_and_parse_int(($code_point & 0x3F) + 0x80);  | 
                                                        |
| 991 | + self::chr_and_parse_int((($code_point >> 6) & 0x3F) + 0x80) .  | 
                                                        |
| 992 | + self::chr_and_parse_int(($code_point & 0x3F) + 0x80);  | 
                                                        |
| 993 | 993 |      } else { | 
                                                        
| 994 | 994 | $str = self::chr_and_parse_int(($code_point >> 18) + 0xF0) .  | 
                                                        
| 995 | - self::chr_and_parse_int((($code_point >> 12) & 0x3F) + 0x80) .  | 
                                                        |
| 996 | - self::chr_and_parse_int((($code_point >> 6) & 0x3F) + 0x80) .  | 
                                                        |
| 997 | - self::chr_and_parse_int(($code_point & 0x3F) + 0x80);  | 
                                                        |
| 995 | + self::chr_and_parse_int((($code_point >> 12) & 0x3F) + 0x80) .  | 
                                                        |
| 996 | + self::chr_and_parse_int((($code_point >> 6) & 0x3F) + 0x80) .  | 
                                                        |
| 997 | + self::chr_and_parse_int(($code_point & 0x3F) + 0x80);  | 
                                                        |
| 998 | 998 | }  | 
                                                        
| 999 | 999 | |
| 1000 | 1000 |      if ($encoding !== 'UTF-8') { | 
                                                        
@@ -855,7 +855,7 @@ discard block  | 
                                                    ||
| 855 | 855 | public static function add_bom_to_string($str)  | 
                                                        
| 856 | 856 |    { | 
                                                        
| 857 | 857 |      if (self::string_has_bom($str) === false) { | 
                                                        
| 858 | - $str = self::bom() . $str;  | 
                                                        |
| 858 | + $str = self::bom().$str;  | 
                                                        |
| 859 | 859 | }  | 
                                                        
| 860 | 860 | |
| 861 | 861 | return $str;  | 
                                                        
@@ -980,10 +980,10 @@ discard block  | 
                                                    ||
| 980 | 980 | &&  | 
                                                        
| 981 | 981 | self::$SUPPORT['mbstring'] === false  | 
                                                        
| 982 | 982 |      ) { | 
                                                        
| 983 | -      trigger_error('UTF8::chr() without mbstring cannot handle "' . $encoding . '" encoding', E_USER_WARNING); | 
                                                        |
| 983 | +      trigger_error('UTF8::chr() without mbstring cannot handle "'.$encoding.'" encoding', E_USER_WARNING); | 
                                                        |
| 984 | 984 | }  | 
                                                        
| 985 | 985 | |
| 986 | - $cacheKey = $code_point . $encoding;  | 
                                                        |
| 986 | + $cacheKey = $code_point.$encoding;  | 
                                                        |
| 987 | 987 |      if (isset($CHAR_CACHE[$cacheKey]) === true) { | 
                                                        
| 988 | 988 | return $CHAR_CACHE[$cacheKey];  | 
                                                        
| 989 | 989 | }  | 
                                                        
@@ -1008,16 +1008,16 @@ discard block  | 
                                                    ||
| 1008 | 1008 |      if ($code_point <= 0x7F) { | 
                                                        
| 1009 | 1009 | $str = self::chr_and_parse_int($code_point);  | 
                                                        
| 1010 | 1010 |      } elseif ($code_point <= 0x7FF) { | 
                                                        
| 1011 | - $str = self::chr_and_parse_int(($code_point >> 6) + 0xC0) .  | 
                                                        |
| 1011 | + $str = self::chr_and_parse_int(($code_point >> 6) + 0xC0).  | 
                                                        |
| 1012 | 1012 | self::chr_and_parse_int(($code_point & 0x3F) + 0x80);  | 
                                                        
| 1013 | 1013 |      } elseif ($code_point <= 0xFFFF) { | 
                                                        
| 1014 | - $str = self::chr_and_parse_int(($code_point >> 12) + 0xE0) .  | 
                                                        |
| 1015 | - self::chr_and_parse_int((($code_point >> 6) & 0x3F) + 0x80) .  | 
                                                        |
| 1014 | + $str = self::chr_and_parse_int(($code_point >> 12) + 0xE0).  | 
                                                        |
| 1015 | + self::chr_and_parse_int((($code_point >> 6) & 0x3F) + 0x80).  | 
                                                        |
| 1016 | 1016 | self::chr_and_parse_int(($code_point & 0x3F) + 0x80);  | 
                                                        
| 1017 | 1017 |      } else { | 
                                                        
| 1018 | - $str = self::chr_and_parse_int(($code_point >> 18) + 0xF0) .  | 
                                                        |
| 1019 | - self::chr_and_parse_int((($code_point >> 12) & 0x3F) + 0x80) .  | 
                                                        |
| 1020 | - self::chr_and_parse_int((($code_point >> 6) & 0x3F) + 0x80) .  | 
                                                        |
| 1018 | + $str = self::chr_and_parse_int(($code_point >> 18) + 0xF0).  | 
                                                        |
| 1019 | + self::chr_and_parse_int((($code_point >> 12) & 0x3F) + 0x80).  | 
                                                        |
| 1020 | + self::chr_and_parse_int((($code_point >> 6) & 0x3F) + 0x80).  | 
                                                        |
| 1021 | 1021 | self::chr_and_parse_int(($code_point & 0x3F) + 0x80);  | 
                                                        
| 1022 | 1022 | }  | 
                                                        
| 1023 | 1023 | |
@@ -1077,7 +1077,7 @@ discard block  | 
                                                    ||
| 1077 | 1077 | }  | 
                                                        
| 1078 | 1078 | |
| 1079 | 1079 | return array_map(  | 
                                                        
| 1080 | -        function ($data) { | 
                                                        |
| 1080 | +        function($data) { | 
                                                        |
| 1081 | 1081 | return self::strlen($data, '8BIT');  | 
                                                        
| 1082 | 1082 | },  | 
                                                        
| 1083 | 1083 | self::split($str)  | 
                                                        
@@ -1319,7 +1319,7 @@ discard block  | 
                                                    ||
| 1319 | 1319 | $flags = ENT_QUOTES;  | 
                                                        
| 1320 | 1320 | }  | 
                                                        
| 1321 | 1321 | |
| 1322 | -    return self::html_entity_decode('&#' . $int . ';', $flags); | 
                                                        |
| 1322 | +    return self::html_entity_decode('&#'.$int.';', $flags); | 
                                                        |
| 1323 | 1323 | }  | 
                                                        
| 1324 | 1324 | |
| 1325 | 1325 | /**  | 
                                                        
@@ -1397,7 +1397,7 @@ discard block  | 
                                                    ||
| 1397 | 1397 | &&  | 
                                                        
| 1398 | 1398 | self::$SUPPORT['mbstring'] === false  | 
                                                        
| 1399 | 1399 |        ) { | 
                                                        
| 1400 | -        trigger_error('UTF8::encode() without mbstring cannot handle "' . $encoding . '" encoding', E_USER_WARNING); | 
                                                        |
| 1400 | +        trigger_error('UTF8::encode() without mbstring cannot handle "'.$encoding.'" encoding', E_USER_WARNING); | 
                                                        |
| 1401 | 1401 | }  | 
                                                        
| 1402 | 1402 | |
| 1403 | 1403 | $strEncoded = \mb_convert_encoding(  | 
                                                        
@@ -1606,7 +1606,7 @@ discard block  | 
                                                    ||
| 1606 | 1606 |            ) { | 
                                                        
| 1607 | 1607 | // Prevent leading combining chars  | 
                                                        
| 1608 | 1608 | // for NFC-safe concatenations.  | 
                                                        
| 1609 | - $var = $leading_combining . $var;  | 
                                                        |
| 1609 | + $var = $leading_combining.$var;  | 
                                                        |
| 1610 | 1610 | }  | 
                                                        
| 1611 | 1611 | }  | 
                                                        
| 1612 | 1612 | |
@@ -2030,7 +2030,7 @@ discard block  | 
                                                    ||
| 2030 | 2030 | */  | 
                                                        
| 2031 | 2031 | private static function getData($file)  | 
                                                        
| 2032 | 2032 |    { | 
                                                        
| 2033 | - $file = __DIR__ . '/data/' . $file . '.php';  | 
                                                        |
| 2033 | + $file = __DIR__.'/data/'.$file.'.php';  | 
                                                        |
| 2034 | 2034 |      if (file_exists($file)) { | 
                                                        
| 2035 | 2035 | /** @noinspection PhpIncludeInspection */  | 
                                                        
| 2036 | 2036 | return require $file;  | 
                                                        
@@ -2175,7 +2175,7 @@ discard block  | 
                                                    ||
| 2175 | 2175 | return implode(  | 
                                                        
| 2176 | 2176 | '',  | 
                                                        
| 2177 | 2177 | array_map(  | 
                                                        
| 2178 | -            function ($data) use ($keepAsciiChars, $encoding) { | 
                                                        |
| 2178 | +            function($data) use ($keepAsciiChars, $encoding) { | 
                                                        |
| 2179 | 2179 | return self::single_chr_html_encode($data, $keepAsciiChars, $encoding);  | 
                                                        
| 2180 | 2180 | },  | 
                                                        
| 2181 | 2181 | self::split($str)  | 
                                                        
@@ -2296,7 +2296,7 @@ discard block  | 
                                                    ||
| 2296 | 2296 | &&  | 
                                                        
| 2297 | 2297 | self::$SUPPORT['mbstring'] === false  | 
                                                        
| 2298 | 2298 |      ) { | 
                                                        
| 2299 | -      trigger_error('UTF8::html_entity_decode() without mbstring cannot handle "' . $encoding . '" encoding', E_USER_WARNING); | 
                                                        |
| 2299 | +      trigger_error('UTF8::html_entity_decode() without mbstring cannot handle "'.$encoding.'" encoding', E_USER_WARNING); | 
                                                        |
| 2300 | 2300 | }  | 
                                                        
| 2301 | 2301 | |
| 2302 | 2302 |      do { | 
                                                        
@@ -2304,7 +2304,7 @@ discard block  | 
                                                    ||
| 2304 | 2304 | |
| 2305 | 2305 | $str = preg_replace_callback(  | 
                                                        
| 2306 | 2306 |            "/&#\d{2,6};/", | 
                                                        
| 2307 | -          function ($matches) use ($encoding) { | 
                                                        |
| 2307 | +          function($matches) use ($encoding) { | 
                                                        |
| 2308 | 2308 | $returnTmp = \mb_convert_encoding($matches[0], $encoding, 'HTML-ENTITIES');  | 
                                                        
| 2309 | 2309 | |
| 2310 | 2310 |              if ($returnTmp !== '"' && $returnTmp !== "'") { | 
                                                        
@@ -2638,9 +2638,9 @@ discard block  | 
                                                    ||
| 2638 | 2638 |      if ((int)$int === $int) { | 
                                                        
| 2639 | 2639 | $hex = dechex($int);  | 
                                                        
| 2640 | 2640 | |
| 2641 | -      $hex = (strlen($hex) < 4 ? substr('0000' . $hex, -4) : $hex); | 
                                                        |
| 2641 | +      $hex = (strlen($hex) < 4 ? substr('0000'.$hex, -4) : $hex); | 
                                                        |
| 2642 | 2642 | |
| 2643 | - return $pfix . $hex;  | 
                                                        |
| 2643 | + return $pfix.$hex;  | 
                                                        |
| 2644 | 2644 | }  | 
                                                        
| 2645 | 2645 | |
| 2646 | 2646 | return '';  | 
                                                        
@@ -3381,7 +3381,7 @@ discard block  | 
                                                    ||
| 3381 | 3381 | $cleanUtf8  | 
                                                        
| 3382 | 3382 | );  | 
                                                        
| 3383 | 3383 | |
| 3384 | - return $strPartOne . $strPartTwo;  | 
                                                        |
| 3384 | + return $strPartOne.$strPartTwo;  | 
                                                        |
| 3385 | 3385 | }  | 
                                                        
| 3386 | 3386 | |
| 3387 | 3387 | /**  | 
                                                        
@@ -3471,7 +3471,7 @@ discard block  | 
                                                    ||
| 3471 | 3471 |        return preg_replace('/^[\pZ\pC]+/u', '', $str); | 
                                                        
| 3472 | 3472 | }  | 
                                                        
| 3473 | 3473 | |
| 3474 | -    return preg_replace('/^' . self::rxClass($chars) . '+/u', '', $str); | 
                                                        |
| 3474 | +    return preg_replace('/^'.self::rxClass($chars).'+/u', '', $str); | 
                                                        |
| 3475 | 3475 | }  | 
                                                        
| 3476 | 3476 | |
| 3477 | 3477 | /**  | 
                                                        
@@ -3827,7 +3827,7 @@ discard block  | 
                                                    ||
| 3827 | 3827 | }  | 
                                                        
| 3828 | 3828 | }  | 
                                                        
| 3829 | 3829 | |
| 3830 | - $cacheKey = $chr_orig . $encoding;  | 
                                                        |
| 3830 | + $cacheKey = $chr_orig.$encoding;  | 
                                                        |
| 3831 | 3831 |      if (isset($CHAR_CACHE[$cacheKey]) === true) { | 
                                                        
| 3832 | 3832 | return $CHAR_CACHE[$cacheKey];  | 
                                                        
| 3833 | 3833 | }  | 
                                                        
@@ -4061,7 +4061,7 @@ discard block  | 
                                                    ||
| 4061 | 4061 |      if (is_array($what) === true) { | 
                                                        
| 4062 | 4062 | /** @noinspection ForeachSourceInspection */  | 
                                                        
| 4063 | 4063 |        foreach ($what as $item) { | 
                                                        
| 4064 | -        $str = preg_replace('/(' . preg_quote($item, '/') . ')+/', $item, $str); | 
                                                        |
| 4064 | +        $str = preg_replace('/('.preg_quote($item, '/').')+/', $item, $str); | 
                                                        |
| 4065 | 4065 | }  | 
                                                        
| 4066 | 4066 | }  | 
                                                        
| 4067 | 4067 | |
@@ -4169,7 +4169,7 @@ discard block  | 
                                                    ||
| 4169 | 4169 |        return preg_replace('/[\pZ\pC]+$/u', '', $str); | 
                                                        
| 4170 | 4170 | }  | 
                                                        
| 4171 | 4171 | |
| 4172 | -    return preg_replace('/' . self::rxClass($chars) . '+$/u', '', $str); | 
                                                        |
| 4172 | +    return preg_replace('/'.self::rxClass($chars).'+$/u', '', $str); | 
                                                        |
| 4173 | 4173 | }  | 
                                                        
| 4174 | 4174 | |
| 4175 | 4175 | /**  | 
                                                        
@@ -4184,7 +4184,7 @@ discard block  | 
                                                    ||
| 4184 | 4184 |    { | 
                                                        
| 4185 | 4185 | static $RX_CLASSS_CACHE = array();  | 
                                                        
| 4186 | 4186 | |
| 4187 | - $cacheKey = $s . $class;  | 
                                                        |
| 4187 | + $cacheKey = $s.$class;  | 
                                                        |
| 4188 | 4188 | |
| 4189 | 4189 |      if (isset($RX_CLASSS_CACHE[$cacheKey])) { | 
                                                        
| 4190 | 4190 | return $RX_CLASSS_CACHE[$cacheKey];  | 
                                                        
@@ -4196,7 +4196,7 @@ discard block  | 
                                                    ||
| 4196 | 4196 | /** @noinspection SuspiciousLoopInspection */  | 
                                                        
| 4197 | 4197 |      foreach (self::str_split($s) as $s) { | 
                                                        
| 4198 | 4198 |        if ('-' === $s) { | 
                                                        
| 4199 | - $class[0] = '-' . $class[0];  | 
                                                        |
| 4199 | + $class[0] = '-'.$class[0];  | 
                                                        |
| 4200 | 4200 |        } elseif (!isset($s[2])) { | 
                                                        
| 4201 | 4201 | $class[0] .= preg_quote($s, '/');  | 
                                                        
| 4202 | 4202 |        } elseif (1 === self::strlen($s)) { | 
                                                        
@@ -4207,13 +4207,13 @@ discard block  | 
                                                    ||
| 4207 | 4207 | }  | 
                                                        
| 4208 | 4208 | |
| 4209 | 4209 |      if ($class[0]) { | 
                                                        
| 4210 | - $class[0] = '[' . $class[0] . ']';  | 
                                                        |
| 4210 | + $class[0] = '['.$class[0].']';  | 
                                                        |
| 4211 | 4211 | }  | 
                                                        
| 4212 | 4212 | |
| 4213 | 4213 |      if (1 === count($class)) { | 
                                                        
| 4214 | 4214 | $return = $class[0];  | 
                                                        
| 4215 | 4215 |      } else { | 
                                                        
| 4216 | -      $return = '(?:' . implode('|', $class) . ')'; | 
                                                        |
| 4216 | +      $return = '(?:'.implode('|', $class).')'; | 
                                                        |
| 4217 | 4217 | }  | 
                                                        
| 4218 | 4218 | |
| 4219 | 4219 | $RX_CLASSS_CACHE[$cacheKey] = $return;  | 
                                                        
@@ -4231,7 +4231,7 @@ discard block  | 
                                                    ||
| 4231 | 4231 | }  | 
                                                        
| 4232 | 4232 | |
| 4233 | 4233 |      foreach (self::$SUPPORT as $utf8Support) { | 
                                                        
| 4234 | - echo $utf8Support . "\n<br>";  | 
                                                        |
| 4234 | + echo $utf8Support."\n<br>";  | 
                                                        |
| 4235 | 4235 | }  | 
                                                        
| 4236 | 4236 | }  | 
                                                        
| 4237 | 4237 | |
@@ -4264,7 +4264,7 @@ discard block  | 
                                                    ||
| 4264 | 4264 | $encoding = self::normalize_encoding($encoding, 'UTF-8');  | 
                                                        
| 4265 | 4265 | }  | 
                                                        
| 4266 | 4266 | |
| 4267 | - return '&#' . self::ord($char, $encoding) . ';';  | 
                                                        |
| 4267 | + return '&#'.self::ord($char, $encoding).';';  | 
                                                        |
| 4268 | 4268 | }  | 
                                                        
| 4269 | 4269 | |
| 4270 | 4270 | /**  | 
                                                        
@@ -4331,7 +4331,7 @@ discard block  | 
                                                    ||
| 4331 | 4331 |          ) { | 
                                                        
| 4332 | 4332 | |
| 4333 | 4333 |            if (($str[$i + 1] & "\xC0") === "\x80") { | 
                                                        
| 4334 | - $ret[] = $str[$i] . $str[$i + 1];  | 
                                                        |
| 4334 | + $ret[] = $str[$i].$str[$i + 1];  | 
                                                        |
| 4335 | 4335 | |
| 4336 | 4336 | $i++;  | 
                                                        
| 4337 | 4337 | }  | 
                                                        
@@ -4347,7 +4347,7 @@ discard block  | 
                                                    ||
| 4347 | 4347 | &&  | 
                                                        
| 4348 | 4348 | ($str[$i + 2] & "\xC0") === "\x80"  | 
                                                        
| 4349 | 4349 |            ) { | 
                                                        
| 4350 | - $ret[] = $str[$i] . $str[$i + 1] . $str[$i + 2];  | 
                                                        |
| 4350 | + $ret[] = $str[$i].$str[$i + 1].$str[$i + 2];  | 
                                                        |
| 4351 | 4351 | |
| 4352 | 4352 | $i += 2;  | 
                                                        
| 4353 | 4353 | }  | 
                                                        
@@ -4365,7 +4365,7 @@ discard block  | 
                                                    ||
| 4365 | 4365 | &&  | 
                                                        
| 4366 | 4366 | ($str[$i + 3] & "\xC0") === "\x80"  | 
                                                        
| 4367 | 4367 |            ) { | 
                                                        
| 4368 | - $ret[] = $str[$i] . $str[$i + 1] . $str[$i + 2] . $str[$i + 3];  | 
                                                        |
| 4368 | + $ret[] = $str[$i].$str[$i + 1].$str[$i + 2].$str[$i + 3];  | 
                                                        |
| 4369 | 4369 | |
| 4370 | 4370 | $i += 3;  | 
                                                        
| 4371 | 4371 | }  | 
                                                        
@@ -4378,7 +4378,7 @@ discard block  | 
                                                    ||
| 4378 | 4378 | $ret = array_chunk($ret, $length);  | 
                                                        
| 4379 | 4379 | |
| 4380 | 4380 | return array_map(  | 
                                                        
| 4381 | -          function ($item) { | 
                                                        |
| 4381 | +          function($item) { | 
                                                        |
| 4382 | 4382 |              return implode('', $item); | 
                                                        
| 4383 | 4383 | }, $ret  | 
                                                        
| 4384 | 4384 | );  | 
                                                        
@@ -4484,7 +4484,7 @@ discard block  | 
                                                    ||
| 4484 | 4484 |      foreach (self::$ICONV_ENCODING as $encodingTmp) { | 
                                                        
| 4485 | 4485 | # INFO: //IGNORE and //TRANSLIT still throw notice  | 
                                                        
| 4486 | 4486 | /** @noinspection PhpUsageOfSilenceOperatorInspection */  | 
                                                        
| 4487 | -      if (md5(@\iconv($encodingTmp, $encodingTmp . '//IGNORE', $str)) === $md5) { | 
                                                        |
| 4487 | +      if (md5(@\iconv($encodingTmp, $encodingTmp.'//IGNORE', $str)) === $md5) { | 
                                                        |
| 4488 | 4488 | return $encodingTmp;  | 
                                                        
| 4489 | 4489 | }  | 
                                                        
| 4490 | 4490 | }  | 
                                                        
@@ -4579,7 +4579,7 @@ discard block  | 
                                                    ||
| 4579 | 4579 |        if ('' === $s .= '') { | 
                                                        
| 4580 | 4580 | $s = '/^(?<=.)$/';  | 
                                                        
| 4581 | 4581 |        } else { | 
                                                        
| 4582 | - $s = '/' . preg_quote($s, '/') . '/ui';  | 
                                                        |
| 4582 | + $s = '/'.preg_quote($s, '/').'/ui';  | 
                                                        |
| 4583 | 4583 | }  | 
                                                        
| 4584 | 4584 | }  | 
                                                        
| 4585 | 4585 | |
@@ -4637,7 +4637,7 @@ discard block  | 
                                                    ||
| 4637 | 4637 | }  | 
                                                        
| 4638 | 4638 | |
| 4639 | 4639 |      if (self::substr($str, $length - 1, 1) === ' ') { | 
                                                        
| 4640 | - return (string)self::substr($str, 0, $length - 1) . $strAddOn;  | 
                                                        |
| 4640 | + return (string)self::substr($str, 0, $length - 1).$strAddOn;  | 
                                                        |
| 4641 | 4641 | }  | 
                                                        
| 4642 | 4642 | |
| 4643 | 4643 | $str = (string)self::substr($str, 0, $length);  | 
                                                        
@@ -4646,9 +4646,9 @@ discard block  | 
                                                    ||
| 4646 | 4646 |      $new_str = implode(' ', $array); | 
                                                        
| 4647 | 4647 | |
| 4648 | 4648 |      if ($new_str === '') { | 
                                                        
| 4649 | - $str = (string)self::substr($str, 0, $length - 1) . $strAddOn;  | 
                                                        |
| 4649 | + $str = (string)self::substr($str, 0, $length - 1).$strAddOn;  | 
                                                        |
| 4650 | 4650 |      } else { | 
                                                        
| 4651 | - $str = $new_str . $strAddOn;  | 
                                                        |
| 4651 | + $str = $new_str.$strAddOn;  | 
                                                        |
| 4652 | 4652 | }  | 
                                                        
| 4653 | 4653 | |
| 4654 | 4654 | return $str;  | 
                                                        
@@ -4703,7 +4703,7 @@ discard block  | 
                                                    ||
| 4703 | 4703 | $pre = '';  | 
                                                        
| 4704 | 4704 | }  | 
                                                        
| 4705 | 4705 | |
| 4706 | - return $pre . $str . $post;  | 
                                                        |
| 4706 | + return $pre.$str.$post;  | 
                                                        |
| 4707 | 4707 | }  | 
                                                        
| 4708 | 4708 | |
| 4709 | 4709 | return $str;  | 
                                                        
@@ -4853,7 +4853,7 @@ discard block  | 
                                                    ||
| 4853 | 4853 | }  | 
                                                        
| 4854 | 4854 | |
| 4855 | 4855 | /** @noinspection PhpInternalEntityUsedInspection */  | 
                                                        
| 4856 | -    preg_match_all('/' . self::GRAPHEME_CLUSTER_RX . '/u', $str, $a); | 
                                                        |
| 4856 | +    preg_match_all('/'.self::GRAPHEME_CLUSTER_RX.'/u', $str, $a); | 
                                                        |
| 4857 | 4857 | $a = $a[0];  | 
                                                        
| 4858 | 4858 | |
| 4859 | 4859 |      if ($len === 1) { | 
                                                        
@@ -5089,7 +5089,7 @@ discard block  | 
                                                    ||
| 5089 | 5089 | public static function strcmp($str1, $str2)  | 
                                                        
| 5090 | 5090 |    { | 
                                                        
| 5091 | 5091 | /** @noinspection PhpUndefinedClassInspection */  | 
                                                        
| 5092 | - return $str1 . '' === $str2 . '' ? 0 : strcmp(  | 
                                                        |
| 5092 | + return $str1.'' === $str2.'' ? 0 : strcmp(  | 
                                                        |
| 5093 | 5093 | \Normalizer::normalize($str1, \Normalizer::NFD),  | 
                                                        
| 5094 | 5094 | \Normalizer::normalize($str2, \Normalizer::NFD)  | 
                                                        
| 5095 | 5095 | );  | 
                                                        
@@ -5124,7 +5124,7 @@ discard block  | 
                                                    ||
| 5124 | 5124 | return null;  | 
                                                        
| 5125 | 5125 | }  | 
                                                        
| 5126 | 5126 | |
| 5127 | -    if (preg_match('/^(.*?)' . self::rxClass($charList) . '/us', $str, $length)) { | 
                                                        |
| 5127 | +    if (preg_match('/^(.*?)'.self::rxClass($charList).'/us', $str, $length)) { | 
                                                        |
| 5128 | 5128 | /** @noinspection OffsetOperationsInspection */  | 
                                                        
| 5129 | 5129 | return self::strlen($length[1]);  | 
                                                        
| 5130 | 5130 | }  | 
                                                        
@@ -5335,7 +5335,7 @@ discard block  | 
                                                    ||
| 5335 | 5335 | &&  | 
                                                        
| 5336 | 5336 | self::$SUPPORT['mbstring'] === false  | 
                                                        
| 5337 | 5337 |      ) { | 
                                                        
| 5338 | -      trigger_error('UTF8::stristr() without mbstring cannot handle "' . $encoding . '" encoding', E_USER_WARNING); | 
                                                        |
| 5338 | +      trigger_error('UTF8::stristr() without mbstring cannot handle "'.$encoding.'" encoding', E_USER_WARNING); | 
                                                        |
| 5339 | 5339 | }  | 
                                                        
| 5340 | 5340 | |
| 5341 | 5341 |      if (self::$SUPPORT['mbstring'] === true) { | 
                                                        
@@ -5357,7 +5357,7 @@ discard block  | 
                                                    ||
| 5357 | 5357 | // return stristr($haystack, $needle, $before_needle);  | 
                                                        
| 5358 | 5358 | //}  | 
                                                        
| 5359 | 5359 | |
| 5360 | -    preg_match('/^(.*?)' . preg_quote($needle, '/') . '/usi', $haystack, $match); | 
                                                        |
| 5360 | +    preg_match('/^(.*?)'.preg_quote($needle, '/').'/usi', $haystack, $match); | 
                                                        |
| 5361 | 5361 | |
| 5362 | 5362 |      if (!isset($match[1])) { | 
                                                        
| 5363 | 5363 | return false;  | 
                                                        
@@ -5432,7 +5432,7 @@ discard block  | 
                                                    ||
| 5432 | 5432 | &&  | 
                                                        
| 5433 | 5433 | self::$SUPPORT['iconv'] === false  | 
                                                        
| 5434 | 5434 |      ) { | 
                                                        
| 5435 | -      trigger_error('UTF8::strlen() without mbstring / iconv cannot handle "' . $encoding . '" encoding', E_USER_WARNING); | 
                                                        |
| 5435 | +      trigger_error('UTF8::strlen() without mbstring / iconv cannot handle "'.$encoding.'" encoding', E_USER_WARNING); | 
                                                        |
| 5436 | 5436 | }  | 
                                                        
| 5437 | 5437 | |
| 5438 | 5438 | if (  | 
                                                        
@@ -5511,7 +5511,7 @@ discard block  | 
                                                    ||
| 5511 | 5511 | */  | 
                                                        
| 5512 | 5512 | public static function strnatcmp($str1, $str2)  | 
                                                        
| 5513 | 5513 |    { | 
                                                        
| 5514 | - return $str1 . '' === $str2 . '' ? 0 : strnatcmp(self::strtonatfold($str1), self::strtonatfold($str2));  | 
                                                        |
| 5514 | + return $str1.'' === $str2.'' ? 0 : strnatcmp(self::strtonatfold($str1), self::strtonatfold($str2));  | 
                                                        |
| 5515 | 5515 | }  | 
                                                        
| 5516 | 5516 | |
| 5517 | 5517 | /**  | 
                                                        
@@ -5572,7 +5572,7 @@ discard block  | 
                                                    ||
| 5572 | 5572 | return false;  | 
                                                        
| 5573 | 5573 | }  | 
                                                        
| 5574 | 5574 | |
| 5575 | -    if (preg_match('/' . self::rxClass($char_list) . '/us', $haystack, $m)) { | 
                                                        |
| 5575 | +    if (preg_match('/'.self::rxClass($char_list).'/us', $haystack, $m)) { | 
                                                        |
| 5576 | 5576 | return substr($haystack, strpos($haystack, $m[0]));  | 
                                                        
| 5577 | 5577 | }  | 
                                                        
| 5578 | 5578 | |
@@ -5649,7 +5649,7 @@ discard block  | 
                                                    ||
| 5649 | 5649 | &&  | 
                                                        
| 5650 | 5650 | self::$SUPPORT['mbstring'] === false  | 
                                                        
| 5651 | 5651 |      ) { | 
                                                        
| 5652 | -      trigger_error('UTF8::strpos() without mbstring / iconv cannot handle "' . $encoding . '" encoding', E_USER_WARNING); | 
                                                        |
| 5652 | +      trigger_error('UTF8::strpos() without mbstring / iconv cannot handle "'.$encoding.'" encoding', E_USER_WARNING); | 
                                                        |
| 5653 | 5653 | }  | 
                                                        
| 5654 | 5654 | |
| 5655 | 5655 | if (  | 
                                                        
@@ -5881,7 +5881,7 @@ discard block  | 
                                                    ||
| 5881 | 5881 | &&  | 
                                                        
| 5882 | 5882 | self::$SUPPORT['mbstring'] === false  | 
                                                        
| 5883 | 5883 |      ) { | 
                                                        
| 5884 | -      trigger_error('UTF8::strripos() without mbstring cannot handle "' . $encoding . '" encoding', E_USER_WARNING); | 
                                                        |
| 5884 | +      trigger_error('UTF8::strripos() without mbstring cannot handle "'.$encoding.'" encoding', E_USER_WARNING); | 
                                                        |
| 5885 | 5885 | }  | 
                                                        
| 5886 | 5886 | |
| 5887 | 5887 |      if (self::$SUPPORT['mbstring'] === true) { | 
                                                        
@@ -5964,7 +5964,7 @@ discard block  | 
                                                    ||
| 5964 | 5964 | &&  | 
                                                        
| 5965 | 5965 | self::$SUPPORT['mbstring'] === false  | 
                                                        
| 5966 | 5966 |      ) { | 
                                                        
| 5967 | -      trigger_error('UTF8::strrpos() without mbstring cannot handle "' . $encoding . '" encoding', E_USER_WARNING); | 
                                                        |
| 5967 | +      trigger_error('UTF8::strrpos() without mbstring cannot handle "'.$encoding.'" encoding', E_USER_WARNING); | 
                                                        |
| 5968 | 5968 | }  | 
                                                        
| 5969 | 5969 | |
| 5970 | 5970 |      if (self::$SUPPORT['mbstring'] === true) { | 
                                                        
@@ -6032,7 +6032,7 @@ discard block  | 
                                                    ||
| 6032 | 6032 | return 0;  | 
                                                        
| 6033 | 6033 | }  | 
                                                        
| 6034 | 6034 | |
| 6035 | -    return preg_match('/^' . self::rxClass($mask) . '+/u', $str, $str) ? self::strlen($str[0]) : 0; | 
                                                        |
| 6035 | +    return preg_match('/^'.self::rxClass($mask).'+/u', $str, $str) ? self::strlen($str[0]) : 0; | 
                                                        |
| 6036 | 6036 | }  | 
                                                        
| 6037 | 6037 | |
| 6038 | 6038 | /**  | 
                                                        
@@ -6078,7 +6078,7 @@ discard block  | 
                                                    ||
| 6078 | 6078 | &&  | 
                                                        
| 6079 | 6079 | self::$SUPPORT['mbstring'] === false  | 
                                                        
| 6080 | 6080 |      ) { | 
                                                        
| 6081 | -      trigger_error('UTF8::strstr() without mbstring cannot handle "' . $encoding . '" encoding', E_USER_WARNING); | 
                                                        |
| 6081 | +      trigger_error('UTF8::strstr() without mbstring cannot handle "'.$encoding.'" encoding', E_USER_WARNING); | 
                                                        |
| 6082 | 6082 | }  | 
                                                        
| 6083 | 6083 | |
| 6084 | 6084 |      if (self::$SUPPORT['mbstring'] === true) { | 
                                                        
@@ -6095,7 +6095,7 @@ discard block  | 
                                                    ||
| 6095 | 6095 | return \grapheme_strstr($haystack, $needle, $before_needle);  | 
                                                        
| 6096 | 6096 | }  | 
                                                        
| 6097 | 6097 | |
| 6098 | -    preg_match('/^(.*?)' . preg_quote($needle, '/') . '/us', $haystack, $match); | 
                                                        |
| 6098 | +    preg_match('/^(.*?)'.preg_quote($needle, '/').'/us', $haystack, $match); | 
                                                        |
| 6099 | 6099 | |
| 6100 | 6100 |      if (!isset($match[1])) { | 
                                                        
| 6101 | 6101 | return false;  | 
                                                        
@@ -6202,9 +6202,9 @@ discard block  | 
                                                    ||
| 6202 | 6202 |            Bootup::is_php('5.4') === true | 
                                                        
| 6203 | 6203 |        ) { | 
                                                        
| 6204 | 6204 | |
| 6205 | - $langCode = $lang . '-Lower';  | 
                                                        |
| 6205 | + $langCode = $lang.'-Lower';  | 
                                                        |
| 6206 | 6206 |          if (!in_array($langCode, self::$SUPPORT['intl__transliterator_list_ids'], true)) { | 
                                                        
| 6207 | -          trigger_error('UTF8::strtolower() without intl for special language: ' . $lang, E_USER_WARNING); | 
                                                        |
| 6207 | +          trigger_error('UTF8::strtolower() without intl for special language: '.$lang, E_USER_WARNING); | 
                                                        |
| 6208 | 6208 | |
| 6209 | 6209 | $langCode = 'Any-Lower';  | 
                                                        
| 6210 | 6210 | }  | 
                                                        
@@ -6212,7 +6212,7 @@ discard block  | 
                                                    ||
| 6212 | 6212 | return transliterator_transliterate($langCode, $str);  | 
                                                        
| 6213 | 6213 | }  | 
                                                        
| 6214 | 6214 | |
| 6215 | -      trigger_error('UTF8::strtolower() without intl + PHP >= 5.4 cannot handle the "lang"-parameter: ' . $lang, E_USER_WARNING); | 
                                                        |
| 6215 | +      trigger_error('UTF8::strtolower() without intl + PHP >= 5.4 cannot handle the "lang"-parameter: '.$lang, E_USER_WARNING); | 
                                                        |
| 6216 | 6216 | }  | 
                                                        
| 6217 | 6217 | |
| 6218 | 6218 | return \mb_strtolower($str, $encoding);  | 
                                                        
@@ -6272,9 +6272,9 @@ discard block  | 
                                                    ||
| 6272 | 6272 |            Bootup::is_php('5.4') === true | 
                                                        
| 6273 | 6273 |        ) { | 
                                                        
| 6274 | 6274 | |
| 6275 | - $langCode = $lang . '-Upper';  | 
                                                        |
| 6275 | + $langCode = $lang.'-Upper';  | 
                                                        |
| 6276 | 6276 |          if (!in_array($langCode, self::$SUPPORT['intl__transliterator_list_ids'], true)) { | 
                                                        
| 6277 | -          trigger_error('UTF8::strtoupper() without intl for special language: ' . $lang, E_USER_WARNING); | 
                                                        |
| 6277 | +          trigger_error('UTF8::strtoupper() without intl for special language: '.$lang, E_USER_WARNING); | 
                                                        |
| 6278 | 6278 | |
| 6279 | 6279 | $langCode = 'Any-Upper';  | 
                                                        
| 6280 | 6280 | }  | 
                                                        
@@ -6282,7 +6282,7 @@ discard block  | 
                                                    ||
| 6282 | 6282 | return transliterator_transliterate($langCode, $str);  | 
                                                        
| 6283 | 6283 | }  | 
                                                        
| 6284 | 6284 | |
| 6285 | -      trigger_error('UTF8::strtolower() without intl + PHP >= 5.4 cannot handle the "lang"-parameter: ' . $lang, E_USER_WARNING); | 
                                                        |
| 6285 | +      trigger_error('UTF8::strtolower() without intl + PHP >= 5.4 cannot handle the "lang"-parameter: '.$lang, E_USER_WARNING); | 
                                                        |
| 6286 | 6286 | }  | 
                                                        
| 6287 | 6287 | |
| 6288 | 6288 | return \mb_strtoupper($str, $encoding);  | 
                                                        
@@ -6387,7 +6387,7 @@ discard block  | 
                                                    ||
| 6387 | 6387 | |
| 6388 | 6388 | $return = array();  | 
                                                        
| 6389 | 6389 |      foreach ($array as $key => $value) { | 
                                                        
| 6390 | -      if ($case  === CASE_LOWER) { | 
                                                        |
| 6390 | +      if ($case === CASE_LOWER) { | 
                                                        |
| 6391 | 6391 | $key = self::strtolower($key);  | 
                                                        
| 6392 | 6392 |        } else { | 
                                                        
| 6393 | 6393 | $key = self::strtoupper($key);  | 
                                                        
@@ -6482,7 +6482,7 @@ discard block  | 
                                                    ||
| 6482 | 6482 | &&  | 
                                                        
| 6483 | 6483 | self::$SUPPORT['mbstring'] === false  | 
                                                        
| 6484 | 6484 |      ) { | 
                                                        
| 6485 | -      trigger_error('UTF8::substr() without mbstring cannot handle "' . $encoding . '" encoding', E_USER_WARNING); | 
                                                        |
| 6485 | +      trigger_error('UTF8::substr() without mbstring cannot handle "'.$encoding.'" encoding', E_USER_WARNING); | 
                                                        |
| 6486 | 6486 | }  | 
                                                        
| 6487 | 6487 | |
| 6488 | 6488 |      if (self::$SUPPORT['mbstring'] === true) { | 
                                                        
@@ -6509,8 +6509,7 @@ discard block  | 
                                                    ||
| 6509 | 6509 | |
| 6510 | 6510 |      if (self::is_ascii($str)) { | 
                                                        
| 6511 | 6511 | return ($length === null) ?  | 
                                                        
| 6512 | - substr($str, $offset) :  | 
                                                        |
| 6513 | - substr($str, $offset, $length);  | 
                                                        |
| 6512 | + substr($str, $offset) : substr($str, $offset, $length);  | 
                                                        |
| 6514 | 6513 | }  | 
                                                        
| 6515 | 6514 | |
| 6516 | 6515 | // fallback via vanilla php  | 
                                                        
@@ -6645,14 +6644,14 @@ discard block  | 
                                                    ||
| 6645 | 6644 | &&  | 
                                                        
| 6646 | 6645 | self::$SUPPORT['mbstring'] === false  | 
                                                        
| 6647 | 6646 |      ) { | 
                                                        
| 6648 | -      trigger_error('UTF8::substr_count() without mbstring cannot handle "' . $encoding . '" encoding', E_USER_WARNING); | 
                                                        |
| 6647 | +      trigger_error('UTF8::substr_count() without mbstring cannot handle "'.$encoding.'" encoding', E_USER_WARNING); | 
                                                        |
| 6649 | 6648 | }  | 
                                                        
| 6650 | 6649 | |
| 6651 | 6650 |      if (self::$SUPPORT['mbstring'] === true) { | 
                                                        
| 6652 | 6651 | return \mb_substr_count($haystack, $needle, $encoding);  | 
                                                        
| 6653 | 6652 | }  | 
                                                        
| 6654 | 6653 | |
| 6655 | -    preg_match_all('/' . preg_quote($needle, '/') . '/us', $haystack, $matches, PREG_SET_ORDER); | 
                                                        |
| 6654 | +    preg_match_all('/'.preg_quote($needle, '/').'/us', $haystack, $matches, PREG_SET_ORDER); | 
                                                        |
| 6656 | 6655 | |
| 6657 | 6656 | return count($matches);  | 
                                                        
| 6658 | 6657 | }  | 
                                                        
@@ -6842,8 +6841,7 @@ discard block  | 
                                                    ||
| 6842 | 6841 | |
| 6843 | 6842 |      if (self::is_ascii($str)) { | 
                                                        
| 6844 | 6843 | return ($length === null) ?  | 
                                                        
| 6845 | - substr_replace($str, $replacement, $offset) :  | 
                                                        |
| 6846 | - substr_replace($str, $replacement, $offset, $length);  | 
                                                        |
| 6844 | + substr_replace($str, $replacement, $offset) : substr_replace($str, $replacement, $offset, $length);  | 
                                                        |
| 6847 | 6845 | }  | 
                                                        
| 6848 | 6846 | |
| 6849 | 6847 |      preg_match_all('/./us', $str, $smatches); | 
                                                        
@@ -6919,7 +6917,7 @@ discard block  | 
                                                    ||
| 6919 | 6917 | |
| 6920 | 6918 | $strSwappedCase = preg_replace_callback(  | 
                                                        
| 6921 | 6919 | '/[\S]/u',  | 
                                                        
| 6922 | -        function ($match) use ($encoding) { | 
                                                        |
| 6920 | +        function($match) use ($encoding) { | 
                                                        |
| 6923 | 6921 | $marchToUpper = self::strtoupper($match[0], $encoding);  | 
                                                        
| 6924 | 6922 | |
| 6925 | 6923 |            if ($match[0] === $marchToUpper) { | 
                                                        
@@ -7262,7 +7260,7 @@ discard block  | 
                                                    ||
| 7262 | 7260 | $c2 = $i + 1 >= $max ? "\x00" : $str[$i + 1];  | 
                                                        
| 7263 | 7261 | |
| 7264 | 7262 |            if ($c2 >= "\x80" && $c2 <= "\xBF") { // yeah, almost sure it's UTF8 already | 
                                                        
| 7265 | - $buf .= $c1 . $c2;  | 
                                                        |
| 7263 | + $buf .= $c1.$c2;  | 
                                                        |
| 7266 | 7264 | $i++;  | 
                                                        
| 7267 | 7265 |            } else { // not valid UTF8 - convert it | 
                                                        
| 7268 | 7266 | $buf .= self::to_utf8_convert($c1);  | 
                                                        
@@ -7274,7 +7272,7 @@ discard block  | 
                                                    ||
| 7274 | 7272 | $c3 = $i + 2 >= $max ? "\x00" : $str[$i + 2];  | 
                                                        
| 7275 | 7273 | |
| 7276 | 7274 |            if ($c2 >= "\x80" && $c2 <= "\xBF" && $c3 >= "\x80" && $c3 <= "\xBF") { // yeah, almost sure it's UTF8 already | 
                                                        
| 7277 | - $buf .= $c1 . $c2 . $c3;  | 
                                                        |
| 7275 | + $buf .= $c1.$c2.$c3;  | 
                                                        |
| 7278 | 7276 | $i += 2;  | 
                                                        
| 7279 | 7277 |            } else { // not valid UTF8 - convert it | 
                                                        
| 7280 | 7278 | $buf .= self::to_utf8_convert($c1);  | 
                                                        
@@ -7287,7 +7285,7 @@ discard block  | 
                                                    ||
| 7287 | 7285 | $c4 = $i + 3 >= $max ? "\x00" : $str[$i + 3];  | 
                                                        
| 7288 | 7286 | |
| 7289 | 7287 |            if ($c2 >= "\x80" && $c2 <= "\xBF" && $c3 >= "\x80" && $c3 <= "\xBF" && $c4 >= "\x80" && $c4 <= "\xBF") { // yeah, almost sure it's UTF8 already | 
                                                        
| 7290 | - $buf .= $c1 . $c2 . $c3 . $c4;  | 
                                                        |
| 7288 | + $buf .= $c1.$c2.$c3.$c4;  | 
                                                        |
| 7291 | 7289 | $i += 3;  | 
                                                        
| 7292 | 7290 |            } else { // not valid UTF8 - convert it | 
                                                        
| 7293 | 7291 | $buf .= self::to_utf8_convert($c1);  | 
                                                        
@@ -7309,7 +7307,7 @@ discard block  | 
                                                    ||
| 7309 | 7307 | // decode unicode escape sequences  | 
                                                        
| 7310 | 7308 | $buf = preg_replace_callback(  | 
                                                        
| 7311 | 7309 |          '/\\\\u([0-9a-f]{4})/i', | 
                                                        
| 7312 | -        function ($match) { | 
                                                        |
| 7310 | +        function($match) { | 
                                                        |
| 7313 | 7311 |            return \mb_convert_encoding(pack('H*', $match[1]), 'UTF-8', 'UCS-2BE'); | 
                                                        
| 7314 | 7312 | },  | 
                                                        
| 7315 | 7313 | $buf  | 
                                                        
@@ -7338,7 +7336,7 @@ discard block  | 
                                                    ||
| 7338 | 7336 |      } else { | 
                                                        
| 7339 | 7337 | $cc1 = self::chr_and_parse_int($ordC1 / 64) | "\xC0";  | 
                                                        
| 7340 | 7338 | $cc2 = ($int & "\x3F") | "\x80";  | 
                                                        
| 7341 | - $buf .= $cc1 . $cc2;  | 
                                                        |
| 7339 | + $buf .= $cc1.$cc2;  | 
                                                        |
| 7342 | 7340 | }  | 
                                                        
| 7343 | 7341 | |
| 7344 | 7342 | return $buf;  | 
                                                        
@@ -7401,7 +7399,7 @@ discard block  | 
                                                    ||
| 7401 | 7399 | $cleanUtf8  | 
                                                        
| 7402 | 7400 | );  | 
                                                        
| 7403 | 7401 | |
| 7404 | - return $strPartOne . $strPartTwo;  | 
                                                        |
| 7402 | + return $strPartOne.$strPartTwo;  | 
                                                        |
| 7405 | 7403 | }  | 
                                                        
| 7406 | 7404 | |
| 7407 | 7405 | /**  | 
                                                        
@@ -7446,7 +7444,7 @@ discard block  | 
                                                    ||
| 7446 | 7444 | $str = self::clean($str);  | 
                                                        
| 7447 | 7445 | }  | 
                                                        
| 7448 | 7446 | |
| 7449 | -    $usePhpDefaultFunctions = !(bool)($charlist . implode('', $exceptions)); | 
                                                        |
| 7447 | +    $usePhpDefaultFunctions = !(bool)($charlist.implode('', $exceptions)); | 
                                                        |
| 7450 | 7448 | |
| 7451 | 7449 | if (  | 
                                                        
| 7452 | 7450 | $usePhpDefaultFunctions === true  | 
                                                        
@@ -7933,7 +7931,7 @@ discard block  | 
                                                    ||
| 7933 | 7931 | return '';  | 
                                                        
| 7934 | 7932 | }  | 
                                                        
| 7935 | 7933 | |
| 7936 | -    preg_match('/^\s*+(?:\S++\s*+){1,' . $limit . '}/u', $str, $matches); | 
                                                        |
| 7934 | +    preg_match('/^\s*+(?:\S++\s*+){1,'.$limit.'}/u', $str, $matches); | 
                                                        |
| 7937 | 7935 | |
| 7938 | 7936 | if (  | 
                                                        
| 7939 | 7937 | !isset($matches[0])  | 
                                                        
@@ -7943,7 +7941,7 @@ discard block  | 
                                                    ||
| 7943 | 7941 | return $str;  | 
                                                        
| 7944 | 7942 | }  | 
                                                        
| 7945 | 7943 | |
| 7946 | - return self::rtrim($matches[0]) . $strAddOn;  | 
                                                        |
| 7944 | + return self::rtrim($matches[0]).$strAddOn;  | 
                                                        |
| 7947 | 7945 | }  | 
                                                        
| 7948 | 7946 | |
| 7949 | 7947 | /**  | 
                                                        
@@ -8011,7 +8009,7 @@ discard block  | 
                                                    ||
| 8011 | 8009 | $strReturn .= $break;  | 
                                                        
| 8012 | 8010 | }  | 
                                                        
| 8013 | 8011 | |
| 8014 | -    return $strReturn . implode('', $chars); | 
                                                        |
| 8012 | +    return $strReturn.implode('', $chars); | 
                                                        |
| 8015 | 8013 | }  | 
                                                        
| 8016 | 8014 | |
| 8017 | 8015 | /**  |