mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 00:34:40 +01:00
Temporarily remove broken dependencies to fix DNS resolution
This commit is contained in:
parent
f4bc2b51f5
commit
4c46d1a49f
@ -53,8 +53,6 @@
|
|||||||
"danog/loop": "^1",
|
"danog/loop": "^1",
|
||||||
"phpseclib/phpseclib": "^3",
|
"phpseclib/phpseclib": "^3",
|
||||||
"amphp/redis": "^2",
|
"amphp/redis": "^2",
|
||||||
"amphp/websocket-client": "^2",
|
|
||||||
"amphp/websocket": "2.0.0-beta.4",
|
|
||||||
"psr/http-factory": "^1.0",
|
"psr/http-factory": "^1.0",
|
||||||
"psr/log": "^3",
|
"psr/log": "^3",
|
||||||
"webmozart/assert": "^1.11",
|
"webmozart/assert": "^1.11",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<files psalm-version="dev-master@56310333dc7ca0dbb4c60421816db50d8a16f9f7">
|
<files psalm-version="dev-master@37cc4fd33fe8bbdfca6e056f17fcf2e9c41b9a65">
|
||||||
<file src="src/API.php">
|
<file src="src/API.php">
|
||||||
<ArgumentTypeCoercion>
|
<ArgumentTypeCoercion>
|
||||||
<code>$settings</code>
|
<code>$settings</code>
|
||||||
@ -88,20 +88,18 @@
|
|||||||
<DocblockTypeContradiction>
|
<DocblockTypeContradiction>
|
||||||
<code><![CDATA[$this->stream]]></code>
|
<code><![CDATA[$this->stream]]></code>
|
||||||
</DocblockTypeContradiction>
|
</DocblockTypeContradiction>
|
||||||
|
<InvalidPropertyAssignmentValue>
|
||||||
|
<code><![CDATA[$ctx->getStream()]]></code>
|
||||||
|
</InvalidPropertyAssignmentValue>
|
||||||
<MissingConstructor>
|
<MissingConstructor>
|
||||||
<code>$API</code>
|
<code>$API</code>
|
||||||
<code>$datacenter</code>
|
<code>$datacenter</code>
|
||||||
<code>$logger</code>
|
<code>$logger</code>
|
||||||
<code>$shared</code>
|
<code>$shared</code>
|
||||||
</MissingConstructor>
|
</MissingConstructor>
|
||||||
<PossiblyNullIterator>
|
|
||||||
<code><![CDATA[$this->ctxs]]></code>
|
|
||||||
</PossiblyNullIterator>
|
|
||||||
<PossiblyNullReference>
|
<PossiblyNullReference>
|
||||||
<code>getInputClientProxy</code>
|
<code>getInputClientProxy</code>
|
||||||
<code>isCDN</code>
|
|
||||||
<code>isHttp</code>
|
<code>isHttp</code>
|
||||||
<code>isMedia</code>
|
|
||||||
<code>refreshNext</code>
|
<code>refreshNext</code>
|
||||||
<code>refreshNext</code>
|
<code>refreshNext</code>
|
||||||
</PossiblyNullReference>
|
</PossiblyNullReference>
|
||||||
@ -175,14 +173,8 @@
|
|||||||
<code>$connectionsPromise</code>
|
<code>$connectionsPromise</code>
|
||||||
<code>$datacenter</code>
|
<code>$datacenter</code>
|
||||||
</MissingConstructor>
|
</MissingConstructor>
|
||||||
<PossiblyNullArgument>
|
|
||||||
<code><![CDATA[$this->ctx]]></code>
|
|
||||||
</PossiblyNullArgument>
|
|
||||||
<PossiblyNullReference>
|
<PossiblyNullReference>
|
||||||
<code>bind</code>
|
<code>bind</code>
|
||||||
<code>getDc</code>
|
|
||||||
<code>isCDN</code>
|
|
||||||
<code>isMedia</code>
|
|
||||||
</PossiblyNullReference>
|
</PossiblyNullReference>
|
||||||
<RedundantConditionGivenDocblockType>
|
<RedundantConditionGivenDocblockType>
|
||||||
<code><![CDATA[$authorized_socket->hasTempAuthKey()
|
<code><![CDATA[$authorized_socket->hasTempAuthKey()
|
||||||
@ -378,9 +370,15 @@
|
|||||||
</PossiblyInvalidArgument>
|
</PossiblyInvalidArgument>
|
||||||
</file>
|
</file>
|
||||||
<file src="src/DoHWrapper.php">
|
<file src="src/DoHWrapper.php">
|
||||||
|
<PropertyNotSetInConstructor>
|
||||||
|
<code>$webSocketConnector</code>
|
||||||
|
</PropertyNotSetInConstructor>
|
||||||
<RedundantCondition>
|
<RedundantCondition>
|
||||||
<code>$orig[1][0] === BufferedRawStream::class</code>
|
<code>$orig[1][0] === BufferedRawStream::class</code>
|
||||||
</RedundantCondition>
|
</RedundantCondition>
|
||||||
|
<UndefinedClass>
|
||||||
|
<code>Rfc6455Connector</code>
|
||||||
|
</UndefinedClass>
|
||||||
</file>
|
</file>
|
||||||
<file src="src/EventHandler.php">
|
<file src="src/EventHandler.php">
|
||||||
<ArgumentTypeCoercion>
|
<ArgumentTypeCoercion>
|
||||||
@ -940,6 +938,12 @@
|
|||||||
</UninitializedProperty>
|
</UninitializedProperty>
|
||||||
</file>
|
</file>
|
||||||
<file src="src/Loop/Connection/ReadLoop.php">
|
<file src="src/Loop/Connection/ReadLoop.php">
|
||||||
|
<DocblockTypeContradiction>
|
||||||
|
<code><![CDATA[\str_starts_with($e->getReason(), ' ')]]></code>
|
||||||
|
</DocblockTypeContradiction>
|
||||||
|
<InvalidThrow>
|
||||||
|
<code>throw $e;</code>
|
||||||
|
</InvalidThrow>
|
||||||
<PossiblyNullArgument>
|
<PossiblyNullArgument>
|
||||||
<code><![CDATA[$buffer->bufferRead($payload_length)]]></code>
|
<code><![CDATA[$buffer->bufferRead($payload_length)]]></code>
|
||||||
<code><![CDATA[$buffer->bufferRead(4)]]></code>
|
<code><![CDATA[$buffer->bufferRead(4)]]></code>
|
||||||
@ -955,6 +959,12 @@
|
|||||||
<PropertyNotSetInConstructor>
|
<PropertyNotSetInConstructor>
|
||||||
<code>ReadLoop</code>
|
<code>ReadLoop</code>
|
||||||
</PropertyNotSetInConstructor>
|
</PropertyNotSetInConstructor>
|
||||||
|
<UndefinedClass>
|
||||||
|
<code>$e</code>
|
||||||
|
<code>$e</code>
|
||||||
|
<code>$e</code>
|
||||||
|
<code>ClosedException</code>
|
||||||
|
</UndefinedClass>
|
||||||
</file>
|
</file>
|
||||||
<file src="src/Loop/Connection/WriteLoop.php">
|
<file src="src/Loop/Connection/WriteLoop.php">
|
||||||
<PossiblyNullArgument>
|
<PossiblyNullArgument>
|
||||||
@ -2008,6 +2018,27 @@
|
|||||||
<PossiblyUndefinedVariable>
|
<PossiblyUndefinedVariable>
|
||||||
<code>$data</code>
|
<code>$data</code>
|
||||||
</PossiblyUndefinedVariable>
|
</PossiblyUndefinedVariable>
|
||||||
|
<UndefinedClass>
|
||||||
|
<code><![CDATA[$this->stream]]></code>
|
||||||
|
<code><![CDATA[$this->stream]]></code>
|
||||||
|
<code><![CDATA[$this->stream]]></code>
|
||||||
|
<code>?WebsocketMessage</code>
|
||||||
|
<code>ClosedException</code>
|
||||||
|
<code>Rfc6455ConnectionFactory</code>
|
||||||
|
<code>Rfc6455Connector</code>
|
||||||
|
<code>WebsocketConnection</code>
|
||||||
|
<code>WebsocketConnector</code>
|
||||||
|
<code>WebsocketConnector</code>
|
||||||
|
<code>WebsocketHandshake</code>
|
||||||
|
</UndefinedClass>
|
||||||
|
<UndefinedDocblockClass>
|
||||||
|
<code>WsStream</code>
|
||||||
|
</UndefinedDocblockClass>
|
||||||
|
</file>
|
||||||
|
<file src="src/Stream/Transport/WssStream.php">
|
||||||
|
<UndefinedDocblockClass>
|
||||||
|
<code>WssStream</code>
|
||||||
|
</UndefinedDocblockClass>
|
||||||
</file>
|
</file>
|
||||||
<file src="src/TL/Conversion/BotAPI.php">
|
<file src="src/TL/Conversion/BotAPI.php">
|
||||||
<MissingParamType>
|
<MissingParamType>
|
||||||
@ -2266,6 +2297,10 @@
|
|||||||
<TypeDoesNotContainType>
|
<TypeDoesNotContainType>
|
||||||
<code>true</code>
|
<code>true</code>
|
||||||
</TypeDoesNotContainType>
|
</TypeDoesNotContainType>
|
||||||
|
<UndefinedClass>
|
||||||
|
<code>ClosedException</code>
|
||||||
|
<code>ClosedException</code>
|
||||||
|
</UndefinedClass>
|
||||||
</file>
|
</file>
|
||||||
<file src="src/VoIPController.php">
|
<file src="src/VoIPController.php">
|
||||||
<ArgumentTypeCoercion>
|
<ArgumentTypeCoercion>
|
||||||
|
@ -116,10 +116,11 @@ final class DoHWrapper
|
|||||||
: new Rfc8484StubDoHResolver($nonProxiedDoHConfig);
|
: new Rfc8484StubDoHResolver($nonProxiedDoHConfig);
|
||||||
|
|
||||||
$this->dnsConnector = new DnsSocketConnector(new Rfc1035StubDnsResolver(null, $configProvider));
|
$this->dnsConnector = new DnsSocketConnector(new Rfc1035StubDnsResolver(null, $configProvider));
|
||||||
|
/*
|
||||||
$this->webSocketConnector = new Rfc6455Connector(
|
$this->webSocketConnector = new Rfc6455Connector(
|
||||||
new Rfc6455ConnectionFactory(),
|
new Rfc6455ConnectionFactory(),
|
||||||
$this->HTTPClient
|
$this->HTTPClient
|
||||||
);
|
);*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user