mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 15:19:57 +09:00
Fix #1553 downgrade symfony packages to 1.19, for compatibility with PHP 7.0
This commit is contained in:
parent
f4ad0dbb48
commit
790434ad32
43 changed files with 1465 additions and 965 deletions
6
vendor/symfony/polyfill-iconv/bootstrap.php
vendored
6
vendor/symfony/polyfill-iconv/bootstrap.php
vendored
|
|
@ -15,10 +15,6 @@ if (extension_loaded('iconv')) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (\PHP_VERSION_ID >= 80000) {
|
||||
return require __DIR__.'/bootstrap80.php';
|
||||
}
|
||||
|
||||
if (!defined('ICONV_IMPL')) {
|
||||
define('ICONV_IMPL', 'Symfony');
|
||||
}
|
||||
|
|
@ -42,7 +38,7 @@ if (!function_exists('iconv_set_encoding')) {
|
|||
function iconv_set_encoding($type, $encoding) { return p\Iconv::iconv_set_encoding($type, $encoding); }
|
||||
}
|
||||
if (!function_exists('iconv_mime_encode')) {
|
||||
function iconv_mime_encode($field_name, $field_value, $options = []) { return p\Iconv::iconv_mime_encode($field_name, $field_value, $options); }
|
||||
function iconv_mime_encode($field_name, $field_value, $options = null) { return p\Iconv::iconv_mime_encode($field_name, $field_value, $options); }
|
||||
}
|
||||
if (!function_exists('iconv_mime_decode_headers')) {
|
||||
function iconv_mime_decode_headers($headers, $mode = 0, $encoding = null) { return p\Iconv::iconv_mime_decode_headers($headers, $mode, $encoding); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue