1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-02 10:17:46 +01:00

Bump baseline

This commit is contained in:
Daniil Gentili 2024-06-26 20:52:52 +02:00
parent 579e280239
commit 5228f6721f
4 changed files with 4 additions and 40 deletions

2
docs

@ -1 +1 @@
Subproject commit 2da03b4f6e1d3136996f066c536df72eda2e293c Subproject commit 2a6b4556a2bbf2a37837c64143e7110aa7943e75

View File

@ -63,6 +63,7 @@
<code><![CDATA[$API->serializeSession($this)]]></code> <code><![CDATA[$API->serializeSession($this)]]></code>
</MixedArgument> </MixedArgument>
<PossiblyNullReference> <PossiblyNullReference>
<code><![CDATA[getSettings]]></code>
<code><![CDATA[logger]]></code> <code><![CDATA[logger]]></code>
</PossiblyNullReference> </PossiblyNullReference>
</file> </file>
@ -3062,19 +3063,6 @@
<code><![CDATA[$difference]]></code> <code><![CDATA[$difference]]></code>
<code><![CDATA[$difference]]></code> <code><![CDATA[$difference]]></code>
<code><![CDATA[$difference]]></code> <code><![CDATA[$difference]]></code>
<code><![CDATA[$difference]]></code>
<code><![CDATA[$difference]]></code>
<code><![CDATA[$difference]]></code>
<code><![CDATA[$difference]]></code>
<code><![CDATA[$difference]]></code>
<code><![CDATA[$difference]]></code>
<code><![CDATA[$difference]]></code>
<code><![CDATA[$difference]]></code>
<code><![CDATA[$difference]]></code>
<code><![CDATA[$difference]]></code>
<code><![CDATA[$difference]]></code>
<code><![CDATA[$difference]]></code>
<code><![CDATA[$difference]]></code>
</PossiblyUndefinedVariable> </PossiblyUndefinedVariable>
<RedundantConditionGivenDocblockType> <RedundantConditionGivenDocblockType>
<code><![CDATA[$this->API->feeders[$channelId]?->resume()]]></code> <code><![CDATA[$this->API->feeders[$channelId]?->resume()]]></code>
@ -3630,7 +3618,6 @@
</MixedOperand> </MixedOperand>
<PossiblyInvalidArgument> <PossiblyInvalidArgument>
<code><![CDATA[$response]]></code> <code><![CDATA[$response]]></code>
<code><![CDATA[hrtime(true) + ($seconds * 1_000_000_000)]]></code>
</PossiblyInvalidArgument> </PossiblyInvalidArgument>
<PossiblyNullArgument> <PossiblyNullArgument>
<code><![CDATA[$msgId]]></code> <code><![CDATA[$msgId]]></code>
@ -5386,35 +5373,11 @@
<code><![CDATA[self::LEVEL_MAP[$level]]]></code> <code><![CDATA[self::LEVEL_MAP[$level]]]></code>
</MixedArrayOffset> </MixedArrayOffset>
</file> </file>
<file src="src/RPCError/FloodWaitError.php">
<ArgumentTypeCoercion>
<code><![CDATA[$previous]]></code>
</ArgumentTypeCoercion>
<MissingParamType>
<code><![CDATA[$caller]]></code>
<code><![CDATA[$code]]></code>
<code><![CDATA[$message]]></code>
</MissingParamType>
<MixedArgument>
<code><![CDATA[$code]]></code>
<code><![CDATA[$message]]></code>
</MixedArgument>
</file>
<file src="src/RPCErrorException.php"> <file src="src/RPCErrorException.php">
<MissingParamType>
<code><![CDATA[$caller]]></code>
<code><![CDATA[$method]]></code>
</MissingParamType>
<MixedArgument>
<code><![CDATA[$method]]></code>
</MixedArgument>
<MixedArrayAssignment> <MixedArrayAssignment>
<code><![CDATA[self::$errorMethodMap[$code][$method]]]></code> <code><![CDATA[self::$errorMethodMap[$code][$method]]]></code>
<code><![CDATA[self::$errorMethodMap[$code][$method][$error]]]></code> <code><![CDATA[self::$errorMethodMap[$code][$method][$error]]]></code>
</MixedArrayAssignment> </MixedArrayAssignment>
<MixedArrayOffset>
<code><![CDATA[self::$errorMethodMap[$code][$method]]]></code>
</MixedArrayOffset>
<MixedAssignment> <MixedAssignment>
<code><![CDATA[$description]]></code> <code><![CDATA[$description]]></code>
<code><![CDATA[$res]]></code> <code><![CDATA[$res]]></code>

View File

@ -634,6 +634,7 @@ class RPCErrorException extends \Exception
'THEME_INVALID' => new self($rpc, 'Invalid theme provided.', $code, $caller, $previous), 'THEME_INVALID' => new self($rpc, 'Invalid theme provided.', $code, $caller, $previous),
'THEME_MIME_INVALID' => new self($rpc, 'The theme\'s MIME type is invalid.', $code, $caller, $previous), 'THEME_MIME_INVALID' => new self($rpc, 'The theme\'s MIME type is invalid.', $code, $caller, $previous),
'THEME_TITLE_INVALID' => new self($rpc, 'The specified theme title is invalid.', $code, $caller, $previous), 'THEME_TITLE_INVALID' => new self($rpc, 'The specified theme title is invalid.', $code, $caller, $previous),
'TIMEZONE_INVALID' => new self($rpc, '', $code, $caller, $previous),
'TITLE_INVALID' => new self($rpc, 'The specified stickerpack title is invalid.', $code, $caller, $previous), 'TITLE_INVALID' => new self($rpc, 'The specified stickerpack title is invalid.', $code, $caller, $previous),
'TMP_PASSWORD_DISABLED' => new self($rpc, 'The temporary password is disabled.', $code, $caller, $previous), 'TMP_PASSWORD_DISABLED' => new self($rpc, 'The temporary password is disabled.', $code, $caller, $previous),
'TO_LANG_INVALID' => new self($rpc, 'The specified destination language is invalid.', $code, $caller, $previous), 'TO_LANG_INVALID' => new self($rpc, 'The specified destination language is invalid.', $code, $caller, $previous),

File diff suppressed because one or more lines are too long