@@ -2917,7 +2917,7 @@ discard block |
||
2917 | 2917 | $string = preg_split('/(.)/su', $string, 0, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY); |
2918 | 2918 | |
2919 | 2919 | // Replace characters with decomposed forms. |
2920 | - for ($i=0; $i < count($string); $i++) |
|
2920 | + for ($i = 0; $i < count($string); $i++) |
|
2921 | 2921 | { |
2922 | 2922 | // Hangul characters. |
2923 | 2923 | if ($string[$i] >= "\xEA\xB0\x80" && $string[$i] <= "\xED\x9E\xA3") |
@@ -2951,7 +2951,7 @@ discard block |
||
2951 | 2951 | { |
2952 | 2952 | $temp = $string[$i]; |
2953 | 2953 | $string[$i] = $string[$i - 1]; |
2954 | - $string[$i -1] = $temp; |
|
2954 | + $string[$i - 1] = $temp; |
|
2955 | 2955 | |
2956 | 2956 | // Backtrack and check again. |
2957 | 2957 | if ($i > 1) |
@@ -3262,7 +3262,7 @@ discard block |
||
3262 | 3262 | |
3263 | 3263 | Regex source is https://unicode.org/reports/tr51/#EBNF_and_Regex |
3264 | 3264 | */ |
3265 | - $string = mb_ereg_replace_callback( |
|
3265 | + $string = mb_ereg_replace_callback( |
|
3266 | 3266 | '\p{Regional_Indicator}\p{Regional_Indicator}' . |
3267 | 3267 | '|' . |
3268 | 3268 | '\p{Emoji}' . |
@@ -3283,7 +3283,7 @@ discard block |
||
3283 | 3283 | '[\x{E0020}-\x{E007E}]+\x{E007F}' . |
3284 | 3284 | ')?' . |
3285 | 3285 | ')*', |
3286 | - function ($matches) use (&$placeholders) |
|
3286 | + function($matches) use (&$placeholders) |
|
3287 | 3287 | { |
3288 | 3288 | // Skip lone ASCII characters that are not actully part of an emoji sequence. |
3289 | 3289 | // This can happen because the digits 0-9 and the '*' and '#' characters are |
@@ -3658,7 +3658,7 @@ discard block |
||
3658 | 3658 | // Do the thing. |
3659 | 3659 | $temp = @mb_ereg_replace_callback( |
3660 | 3660 | $pattern, |
3661 | - function ($matches) use ($placeholders) |
|
3661 | + function($matches) use ($placeholders) |
|
3662 | 3662 | { |
3663 | 3663 | return strtr($matches[0], $placeholders); |
3664 | 3664 | }, |
@@ -2060,7 +2060,7 @@ |
||
2060 | 2060 | new RecursiveIteratorIterator( |
2061 | 2061 | new RecursiveCallbackFilterIterator( |
2062 | 2062 | new RecursiveDirectoryIterator($dirname, FilesystemIterator::UNIX_PATHS), |
2063 | - function ($fileInfo, $currentFile, $iterator) |
|
2063 | + function($fileInfo, $currentFile, $iterator) |
|
2064 | 2064 | { |
2065 | 2065 | // Allow recursion |
2066 | 2066 | if ($iterator->hasChildren()) |
@@ -2214,7 +2214,6 @@ |
||
2214 | 2214 | $hookData['pureFunc'] = $hookData['method']; |
2215 | 2215 | $hookData['call'] = $modFunc; |
2216 | 2216 | } |
2217 | - |
|
2218 | 2217 | else |
2219 | 2218 | $hookData['call'] = $hookData['pureFunc'] = $modFunc; |
2220 | 2219 |