mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Unused variables in I18n removed
This commit is contained in:
parent
d484d90fe5
commit
255dc1c44b
1 changed files with 0 additions and 4 deletions
|
@ -772,7 +772,6 @@ class Multibyte {
|
||||||
|
|
||||||
$length = count($utf8Map);
|
$length = count($utf8Map);
|
||||||
$lowerCase = array();
|
$lowerCase = array();
|
||||||
$matched = false;
|
|
||||||
|
|
||||||
for ($i = 0 ; $i < $length; $i++) {
|
for ($i = 0 ; $i < $length; $i++) {
|
||||||
$char = $utf8Map[$i];
|
$char = $utf8Map[$i];
|
||||||
|
@ -819,7 +818,6 @@ class Multibyte {
|
||||||
$utf8Map = Multibyte::utf8($string);
|
$utf8Map = Multibyte::utf8($string);
|
||||||
|
|
||||||
$length = count($utf8Map);
|
$length = count($utf8Map);
|
||||||
$matched = false;
|
|
||||||
$replaced = array();
|
$replaced = array();
|
||||||
$upperCase = array();
|
$upperCase = array();
|
||||||
|
|
||||||
|
@ -947,7 +945,6 @@ class Multibyte {
|
||||||
}
|
}
|
||||||
|
|
||||||
$string = Multibyte::utf8($string);
|
$string = Multibyte::utf8($string);
|
||||||
$stringCount = count($string);
|
|
||||||
|
|
||||||
for ($i = 1; $i <= $start; $i++) {
|
for ($i = 1; $i <= $start; $i++) {
|
||||||
unset($string[$i - 1]);
|
unset($string[$i - 1]);
|
||||||
|
@ -1068,7 +1065,6 @@ class Multibyte {
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
private static function __find($char, $type = 'lower') {
|
private static function __find($char, $type = 'lower') {
|
||||||
$value = false;
|
|
||||||
$found = array();
|
$found = array();
|
||||||
if (!isset(self::$__codeRange[$char])) {
|
if (!isset(self::$__codeRange[$char])) {
|
||||||
$range = self::__codepoint($char);
|
$range = self::__codepoint($char);
|
||||||
|
|
Loading…
Reference in a new issue