composer update

This commit is contained in:
2020-05-10 09:29:56 +00:00
parent c6f807ebad
commit 8e93eececf
919 changed files with 11790 additions and 7005 deletions
+2 -2
View File
@@ -2,8 +2,8 @@ Symfony Polyfill / Iconv
========================
This component provides a native PHP implementation of the
[php.net/iconv](http://php.net/iconv) functions
(short of [`ob_iconv_handler`](http://php.net/manual/en/function.ob-iconv-handler.php)).
[php.net/iconv](https://php.net/iconv) functions
(short of [`ob_iconv_handler`](https://php.net/ob-iconv-handler)).
More information can be found in the
[main Polyfill README](https://github.com/symfony/polyfill/blob/master/README.md).
@@ -866,6 +866,7 @@ static $data = array (
'㋼' => '(ヰ)',
'㋽' => '(ヱ)',
'㋾' => '(ヲ)',
'㋿' => '令和',
'㌀' => 'アパート',
'㌁' => 'アルファ',
'㌂' => 'アンペア',
@@ -3133,6 +3134,7 @@ static $data = array (
'🈸' => '申',
'🈹' => '割',
'🈺' => '営',
'🈻' => '配',
'🉀' => '〔本〕',
'🉁' => '〔三〕',
'🉂' => '〔二〕',
@@ -3878,6 +3880,104 @@ static $data = array (
'ỽ' => 'v',
'Ỿ' => 'Y',
'ỿ' => 'y',
'Ⱡ' => 'L',
'ⱡ' => 'l',
'Ɫ' => 'L',
'Ᵽ' => 'P',
'Ɽ' => 'R',
'ⱥ' => 'a',
'ⱦ' => 't',
'Ⱨ' => 'H',
'ⱨ' => 'h',
'Ⱪ' => 'K',
'ⱪ' => 'k',
'Ⱬ' => 'Z',
'ⱬ' => 'z',
'Ɱ' => 'M',
'ⱱ' => 'v',
'Ⱳ' => 'W',
'ⱳ' => 'w',
'ⱴ' => 'v',
'ⱸ' => 'e',
'ⱺ' => 'o',
'Ȿ' => 'S',
'Ɀ' => 'Z',
'ꜰ' => 'F',
'ꜱ' => 'S',
'Ꜳ' => 'AA',
'ꜳ' => 'aa',
'Ꜵ' => 'AO',
'ꜵ' => 'ao',
'Ꜷ' => 'AU',
'ꜷ' => 'au',
'Ꜹ' => 'AV',
'ꜹ' => 'av',
'Ꜻ' => 'AV',
'ꜻ' => 'av',
'Ꜽ' => 'AY',
'ꜽ' => 'ay',
'Ꝁ' => 'K',
'ꝁ' => 'k',
'Ꝃ' => 'K',
'ꝃ' => 'k',
'Ꝅ' => 'K',
'ꝅ' => 'k',
'Ꝇ' => 'L',
'ꝇ' => 'l',
'Ꝉ' => 'L',
'ꝉ' => 'l',
'Ꝋ' => 'O',
'ꝋ' => 'o',
'Ꝍ' => 'O',
'ꝍ' => 'o',
'Ꝏ' => 'OO',
'ꝏ' => 'oo',
'Ꝑ' => 'P',
'ꝑ' => 'p',
'Ꝓ' => 'P',
'ꝓ' => 'p',
'Ꝕ' => 'P',
'ꝕ' => 'p',
'Ꝗ' => 'Q',
'ꝗ' => 'q',
'Ꝙ' => 'Q',
'ꝙ' => 'q',
'Ꝟ' => 'V',
'ꝟ' => 'v',
'Ꝡ' => 'VY',
'ꝡ' => 'vy',
'Ꝥ' => 'TH',
'ꝥ' => 'th',
'Ꝧ' => 'TH',
'ꝧ' => 'th',
'ꝱ' => 'd',
'ꝲ' => 'l',
'ꝳ' => 'm',
'ꝴ' => 'n',
'ꝵ' => 'r',
'ꝶ' => 'R',
'ꝷ' => 't',
'Ꝺ' => 'D',
'ꝺ' => 'd',
'Ꝼ' => 'F',
'ꝼ' => 'f',
'Ꞇ' => 'T',
'ꞇ' => 't',
'Ꞑ' => 'N',
'ꞑ' => 'n',
'Ꞓ' => 'C',
'ꞓ' => 'c',
'Ꞡ' => 'G',
'ꞡ' => 'g',
'Ꞣ' => 'K',
'ꞣ' => 'k',
'Ꞥ' => 'N',
'ꞥ' => 'n',
'Ꞧ' => 'R',
'ꞧ' => 'r',
'Ꞩ' => 'S',
'ꞩ' => 's',
'Ɦ' => 'H',
'©' => '(C)',
'®' => '(R)',
'₠' => 'CE',
@@ -3887,8 +3987,28 @@ static $data = array (
'₧' => 'Pts',
'₺' => 'TL',
'₹' => 'Rs',
'℗' => '(P)',
'℘' => 'P',
'℞' => 'Rx',
'〇' => '0',
' ' => ' ',
' ' => ' ',
' ' => ' ',
' ' => ' ',
' ' => ' ',
' ' => ' ',
' ' => ' ',
' ' => ' ',
' ' => ' ',
' ' => ' ',
' ' => ' ',
'ʹ' => '\'',
'ʺ' => '"',
'ʻ' => '\'',
'ʼ' => '\'',
'ʽ' => '\'',
'ˈ' => '\'',
'ˋ' => '`',
'‘' => '\'',
'’' => '\'',
'‚' => ',',
@@ -3904,6 +4024,7 @@ static $data = array (
'»' => '>>',
'‹' => '<',
'›' => '>',
'­' => '-',
'‐' => '-',
'‑' => '-',
'‒' => '-',
@@ -3912,6 +4033,12 @@ static $data = array (
'―' => '-',
'︱' => '-',
'︲' => '-',
'˂' => '<',
'˃' => '>',
'˄' => '^',
'ˆ' => '^',
'ː' => ':',
'˜' => '~',
'‖' => '||',
'⁄' => '/',
'⁅' => '[',
@@ -3952,6 +4079,8 @@ static $data = array (
'﹈' => ']',
'×' => '*',
'÷' => '/',
'˖' => '+',
'˗' => '-',
'−' => '-',
'∕' => '/',
'∖' => '\\',
+39 -3
View File
@@ -11,34 +11,70 @@
use Symfony\Polyfill\Iconv as p;
if (!function_exists('iconv')) {
if (!defined('ICONV_IMPL')) {
define('ICONV_IMPL', 'Symfony');
}
if (!defined('ICONV_VERSION')) {
define('ICONV_VERSION', '1.0');
}
if (!defined('ICONV_MIME_DECODE_STRICT')) {
define('ICONV_MIME_DECODE_STRICT', 1);
}
if (!defined('ICONV_MIME_DECODE_CONTINUE_ON_ERROR')) {
define('ICONV_MIME_DECODE_CONTINUE_ON_ERROR', 2);
}
if (!function_exists('iconv')) {
function iconv($from, $to, $s) { return p\Iconv::iconv($from, $to, $s); }
}
if (!function_exists('iconv_get_encoding')) {
function iconv_get_encoding($type = 'all') { return p\Iconv::iconv_get_encoding($type); }
}
if (!function_exists('iconv_set_encoding')) {
function iconv_set_encoding($type, $charset) { return p\Iconv::iconv_set_encoding($type, $charset); }
}
if (!function_exists('iconv_mime_encode')) {
function iconv_mime_encode($name, $value, $pref = null) { return p\Iconv::iconv_mime_encode($name, $value, $pref); }
}
if (!function_exists('iconv_mime_decode_headers')) {
function iconv_mime_decode_headers($encodedHeaders, $mode = 0, $enc = null) { return p\Iconv::iconv_mime_decode_headers($encodedHeaders, $mode, $enc); }
}
if (extension_loaded('mbstring')) {
if (extension_loaded('mbstring')) {
if (!function_exists('iconv_strlen')) {
function iconv_strlen($s, $enc = null) { null === $enc and $enc = p\Iconv::$internalEncoding; return mb_strlen($s, $enc); }
}
if (!function_exists('iconv_strpos')) {
function iconv_strpos($s, $needle, $offset = 0, $enc = null) { null === $enc and $enc = p\Iconv::$internalEncoding; return mb_strpos($s, $needle, $offset, $enc); }
}
if (!function_exists('iconv_strrpos')) {
function iconv_strrpos($s, $needle, $enc = null) { null === $enc and $enc = p\Iconv::$internalEncoding; return mb_strrpos($s, $needle, 0, $enc); }
}
if (!function_exists('iconv_substr')) {
function iconv_substr($s, $start, $length = 2147483647, $enc = null) { null === $enc and $enc = p\Iconv::$internalEncoding; return mb_substr($s, $start, $length, $enc); }
}
if (!function_exists('iconv_mime_decode')) {
function iconv_mime_decode($encodedHeaders, $mode = 0, $enc = null) { null === $enc and $enc = p\Iconv::$internalEncoding; return mb_decode_mimeheader($encodedHeaders, $mode, $enc); }
} else {
}
} else {
if (!function_exists('iconv_strlen')) {
if (extension_loaded('xml')) {
function iconv_strlen($s, $enc = null) { return p\Iconv::strlen1($s, $enc); }
} else {
function iconv_strlen($s, $enc = null) { return p\Iconv::strlen2($s, $enc); }
}
}
if (!function_exists('iconv_strpos')) {
function iconv_strpos($s, $needle, $offset = 0, $enc = null) { return p\Iconv::iconv_strpos($s, $needle, $offset, $enc); }
}
if (!function_exists('iconv_strrpos')) {
function iconv_strrpos($s, $needle, $enc = null) { return p\Iconv::iconv_strrpos($s, $needle, $enc); }
}
if (!function_exists('iconv_substr')) {
function iconv_substr($s, $start, $length = 2147483647, $enc = null) { return p\Iconv::iconv_substr($s, $start, $length, $enc); }
}
if (!function_exists('iconv_mime_decode')) {
function iconv_mime_decode($encodedHeaders, $mode = 0, $enc = null) { return p\Iconv::iconv_mime_decode($encodedHeaders, $mode, $enc); }
}
}
+1 -1
View File
@@ -28,7 +28,7 @@
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "1.13-dev"
"dev-master": "1.16-dev"
}
}
}