1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-26 19:24:42 +01:00

Temporarily disable intl

This commit is contained in:
Daniil Gentili 2019-09-24 12:40:48 +02:00
parent 7588108ffa
commit d7306ab713
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
5 changed files with 4 additions and 5 deletions

2
docs

@ -1 +1 @@
Subproject commit fe346258733323e5173e674f15059dea1a1eb880
Subproject commit 0fc9b14f85e87ca38c3ce01ba6e4a43aaa3707f4

View File

@ -29,7 +29,6 @@
namespace danog\MadelineProto;
use Amp\Deferred;
use Amp\Failure;
use Amp\Internal;
use Amp\Promise;

View File

@ -4048,7 +4048,7 @@ class InternalDoc extends APIFactory
return $this->__call(__FUNCTION__, [$url, $extra]);
}
public function a(callable $a, ?string $b = null, $c = null, $d = 2, $e = \danog\MadelineProto\MTProto::METHOD_BEFORE_CALLBACK, array $extra = []): ?string
public function testing(callable $a, ?string $b = null, $c = null, $d = 2, $e = \danog\MadelineProto\MTProto::METHOD_BEFORE_CALLBACK, array $extra = []): ?string
{
return $this->__call(__FUNCTION__, [$a, $b, $c, $d, $e, $extra]);
}

View File

@ -550,7 +550,7 @@ class MTProto extends AsyncConstruct implements TLCallback
{
return $this->datacenter->fileGetContents($url);
}
public function a(callable $a, ?string $b = null, $c = null, $d = 2, $e = self::METHOD_BEFORE_CALLBACK): ?string
public function testing(callable $a, ?string $b = null, $c = null, $d = 2, $e = self::METHOD_BEFORE_CALLBACK): ?string
{
}
/**

View File

@ -81,7 +81,7 @@ class Magic
if (!\defined('\\phpseclib\\Crypt\\Common\\SymmetricKey::MODE_IGE') || \phpseclib\Crypt\Common\SymmetricKey::MODE_IGE !== 7) {
throw new Exception(\danog\MadelineProto\Lang::$current_lang['phpseclib_fork']);
}
foreach (['intl', 'xml', 'fileinfo', 'json', 'mbstring'] as $extension) {
foreach (['xml', 'fileinfo', 'json', 'mbstring'] as $extension) {
if (!\extension_loaded($extension)) {
throw Exception::extension($extension);
}