Skip to content

Commit

Permalink
RELEASE 1.0.1.
Browse files Browse the repository at this point in the history
Signed-off-by:Ivan Tcholakov <ivantcholakov@gmail.com>
  • Loading branch information
ivantcholakov committed Jun 20, 2020
1 parent 6c2020b commit c977d3f
Show file tree
Hide file tree
Showing 22 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion application/third_party/kohana/utf8/ltrim.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ function _ltrim($str, $charlist = NULL)
$charlist = preg_replace('#[-\[\]:\\\\^/]#', '\\\\$0', $charlist);

return preg_replace('/^['.$charlist.']+/u', '', $str);
}
}
2 changes: 1 addition & 1 deletion application/third_party/kohana/utf8/ord.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ function _ord($chr)
trigger_error('Invalid UTF-8 with surrogate ordinal '.$ord0, E_USER_WARNING);
return FALSE;
}
}
}
2 changes: 1 addition & 1 deletion application/third_party/kohana/utf8/rtrim.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ function _rtrim($str, $charlist = NULL)
$charlist = preg_replace('#[-\[\]:\\\\^/]#', '\\\\$0', $charlist);

return preg_replace('/['.$charlist.']++$/uD', '', $str);
}
}
2 changes: 1 addition & 1 deletion application/third_party/kohana/utf8/str_pad.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ function _str_pad($str, $final_str_length, $pad_str = ' ', $pad_type = STR_PAD_R
}

trigger_error('UTF8::str_pad: Unknown padding type ('.$pad_type.')', E_USER_ERROR);
}
}
2 changes: 1 addition & 1 deletion application/third_party/kohana/utf8/str_split.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ function _str_split($str, $split_length = 1)
preg_match_all('/.{'.$split_length.'}|[^\x00]{1,'.$split_length.'}$/us', $str, $matches);

return $matches[0];
}
}
2 changes: 1 addition & 1 deletion application/third_party/kohana/utf8/strcasecmp.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ function _strcasecmp($str1, $str2)
$str1 = UTF8::strtolower($str1);
$str2 = UTF8::strtolower($str2);
return strcmp($str1, $str2);
}
}
2 changes: 1 addition & 1 deletion application/third_party/kohana/utf8/strcspn.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ function _strcspn($str, $mask, $offset = NULL, $length = NULL)
preg_match('/^[^'.$mask.']+/u', $str, $matches);

return isset($matches[0]) ? UTF8::strlen($matches[0]) : 0;
}
}
2 changes: 1 addition & 1 deletion application/third_party/kohana/utf8/stripos.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
function _stripos($str, $search, $offset = 0)
{
return UTF8::strpos(UTF8::strtolower($str), UTF8::strtolower($search), $offset);
}
}
2 changes: 1 addition & 1 deletion application/third_party/kohana/utf8/stristr.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ function _stristr($str, $search)
return substr($str, strlen($matches[1]));

return FALSE;
}
}
2 changes: 1 addition & 1 deletion application/third_party/kohana/utf8/strlen.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ function _strlen($str)
return strlen($str);

return strlen(utf8_decode($str));
}
}
2 changes: 1 addition & 1 deletion application/third_party/kohana/utf8/strpos.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ function _strpos($str, $search, $offset = 0)
$str = UTF8::substr($str, $offset);
$pos = UTF8::strpos($str, $search);
return ($pos === FALSE) ? FALSE : ($pos + $offset);
}
}
2 changes: 1 addition & 1 deletion application/third_party/kohana/utf8/strrev.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ function _strrev($str)

preg_match_all('/./us', $str, $matches);
return implode('', array_reverse($matches[0]));
}
}
2 changes: 1 addition & 1 deletion application/third_party/kohana/utf8/strrpos.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ function _strrpos($str, $search, $offset = 0)
$str = UTF8::substr($str, $offset);
$pos = UTF8::strrpos($str, $search);
return ($pos === FALSE) ? FALSE : ($pos + $offset);
}
}
2 changes: 1 addition & 1 deletion application/third_party/kohana/utf8/strspn.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ function _strspn($str, $mask, $offset = NULL, $length = NULL)
preg_match('/^[^'.$mask.']+/u', $str, $matches);

return isset($matches[0]) ? UTF8::strlen($matches[0]) : 0;
}
}
2 changes: 1 addition & 1 deletion application/third_party/kohana/utf8/strtolower.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ function _strtolower($str)
}

return UTF8::from_unicode($uni);
}
}
2 changes: 1 addition & 1 deletion application/third_party/kohana/utf8/strtoupper.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ function _strtoupper($str)
}

return UTF8::from_unicode($uni);
}
}
2 changes: 1 addition & 1 deletion application/third_party/kohana/utf8/substr.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ function _substr($str, $offset, $length = NULL)

preg_match('/'.$regex.'/us', $str, $matches);
return $matches[1];
}
}
2 changes: 1 addition & 1 deletion application/third_party/kohana/utf8/substr_replace.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ function _substr_replace($str, $replacement, $offset, $length = NULL)

array_splice($str_array[0], $offset, $length, $replacement_array[0]);
return implode('', $str_array[0]);
}
}
2 changes: 1 addition & 1 deletion application/third_party/kohana/utf8/to_unicode.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,4 @@ function _to_unicode($str)
}

return $out;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ function _transliterate_to_ascii($str, $case = 0)
}

return $str;
}
}
2 changes: 1 addition & 1 deletion application/third_party/kohana/utf8/trim.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ function _trim($str, $charlist = NULL)
return trim($str);

return UTF8::ltrim(UTF8::rtrim($str, $charlist), $charlist);
}
}
2 changes: 1 addition & 1 deletion application/third_party/kohana/utf8/ucfirst.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ function _ucfirst($str)

preg_match('/^(.?)(.*)$/us', $str, $matches);
return UTF8::strtoupper($matches[1]).$matches[2];
}
}

0 comments on commit c977d3f

Please sign in to comment.