Temporarily disable intl
This commit is contained in:
parent
7588108ffa
commit
d7306ab713
2
docs
2
docs
@ -1 +1 @@
|
|||||||
Subproject commit fe346258733323e5173e674f15059dea1a1eb880
|
Subproject commit 0fc9b14f85e87ca38c3ce01ba6e4a43aaa3707f4
|
@ -29,7 +29,6 @@
|
|||||||
|
|
||||||
namespace danog\MadelineProto;
|
namespace danog\MadelineProto;
|
||||||
|
|
||||||
use Amp\Deferred;
|
|
||||||
use Amp\Failure;
|
use Amp\Failure;
|
||||||
use Amp\Internal;
|
use Amp\Internal;
|
||||||
use Amp\Promise;
|
use Amp\Promise;
|
||||||
|
@ -4048,7 +4048,7 @@ class InternalDoc extends APIFactory
|
|||||||
return $this->__call(__FUNCTION__, [$url, $extra]);
|
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]);
|
return $this->__call(__FUNCTION__, [$a, $b, $c, $d, $e, $extra]);
|
||||||
}
|
}
|
||||||
|
@ -550,7 +550,7 @@ class MTProto extends AsyncConstruct implements TLCallback
|
|||||||
{
|
{
|
||||||
return $this->datacenter->fileGetContents($url);
|
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
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
@ -81,7 +81,7 @@ class Magic
|
|||||||
if (!\defined('\\phpseclib\\Crypt\\Common\\SymmetricKey::MODE_IGE') || \phpseclib\Crypt\Common\SymmetricKey::MODE_IGE !== 7) {
|
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']);
|
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)) {
|
if (!\extension_loaded($extension)) {
|
||||||
throw Exception::extension($extension);
|
throw Exception::extension($extension);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user