mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 05:58:58 +01:00
Update baseline
This commit is contained in:
parent
bd4643fa97
commit
755317a4a2
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<files psalm-version="dev-master@a75d26a3d425d183da8bef37cfc14976c8d817d6">
|
<files psalm-version="dev-master@64868c5c9ff3f025f7e9d2412f5b3b719269361c">
|
||||||
<file src="src/API.php">
|
<file src="src/API.php">
|
||||||
<ArgumentTypeCoercion>
|
<ArgumentTypeCoercion>
|
||||||
<code>$settings</code>
|
<code>$settings</code>
|
||||||
@ -36,6 +36,10 @@
|
|||||||
<code>API</code>
|
<code>API</code>
|
||||||
<code>API</code>
|
<code>API</code>
|
||||||
</PropertyNotSetInConstructor>
|
</PropertyNotSetInConstructor>
|
||||||
|
<TypeDoesNotContainType>
|
||||||
|
<code><![CDATA[$errors[$t] > 10]]></code>
|
||||||
|
<code><![CDATA[$errors[$t] > 10]]></code>
|
||||||
|
</TypeDoesNotContainType>
|
||||||
</file>
|
</file>
|
||||||
<file src="src/APIWrapper.php">
|
<file src="src/APIWrapper.php">
|
||||||
<PossiblyNullReference>
|
<PossiblyNullReference>
|
||||||
@ -51,6 +55,14 @@
|
|||||||
<code>isInited</code>
|
<code>isInited</code>
|
||||||
<code>setEventHandler</code>
|
<code>setEventHandler</code>
|
||||||
</PossiblyNullReference>
|
</PossiblyNullReference>
|
||||||
|
<RedundantCondition>
|
||||||
|
<code>!$started</code>
|
||||||
|
<code>!$started</code>
|
||||||
|
</RedundantCondition>
|
||||||
|
<TypeDoesNotContainType>
|
||||||
|
<code><![CDATA[$errors[$t] > 10]]></code>
|
||||||
|
<code><![CDATA[$errors[$t] > 10]]></code>
|
||||||
|
</TypeDoesNotContainType>
|
||||||
</file>
|
</file>
|
||||||
<file src="src/ApiWrappers/Start.php">
|
<file src="src/ApiWrappers/Start.php">
|
||||||
<MissingReturnType>
|
<MissingReturnType>
|
||||||
@ -834,11 +846,18 @@
|
|||||||
</MissingReturnType>
|
</MissingReturnType>
|
||||||
</file>
|
</file>
|
||||||
<file src="src/GarbageCollector.php">
|
<file src="src/GarbageCollector.php">
|
||||||
|
<NoValue>
|
||||||
|
<code>$id</code>
|
||||||
|
</NoValue>
|
||||||
<PropertyTypeCoercion>
|
<PropertyTypeCoercion>
|
||||||
<code>self::$map</code>
|
<code>self::$map</code>
|
||||||
<code>self::$map ??= new WeakMap</code>
|
<code>self::$map ??= new WeakMap</code>
|
||||||
<code>self::$map ??= new WeakMap</code>
|
<code>self::$map ??= new WeakMap</code>
|
||||||
</PropertyTypeCoercion>
|
</PropertyTypeCoercion>
|
||||||
|
<TypeDoesNotContainType>
|
||||||
|
<code>$id</code>
|
||||||
|
<code>$id</code>
|
||||||
|
</TypeDoesNotContainType>
|
||||||
</file>
|
</file>
|
||||||
<file src="src/InternalDoc.php">
|
<file src="src/InternalDoc.php">
|
||||||
<InvalidReturnStatement>
|
<InvalidReturnStatement>
|
||||||
@ -1054,6 +1073,9 @@
|
|||||||
<code>$stdout</code>
|
<code>$stdout</code>
|
||||||
<code>$stdoutUnbuffered</code>
|
<code>$stdoutUnbuffered</code>
|
||||||
</PropertyNotSetInConstructor>
|
</PropertyNotSetInConstructor>
|
||||||
|
<UndefinedVariable>
|
||||||
|
<code>$promise</code>
|
||||||
|
</UndefinedVariable>
|
||||||
<UninitializedProperty>
|
<UninitializedProperty>
|
||||||
<code><![CDATA[$this->colors]]></code>
|
<code><![CDATA[$this->colors]]></code>
|
||||||
<code><![CDATA[$this->colors]]></code>
|
<code><![CDATA[$this->colors]]></code>
|
||||||
@ -1675,8 +1697,17 @@
|
|||||||
<PossiblyNullArrayOffset>
|
<PossiblyNullArrayOffset>
|
||||||
<code><![CDATA[$res['participants']]]></code>
|
<code><![CDATA[$res['participants']]]></code>
|
||||||
</PossiblyNullArrayOffset>
|
</PossiblyNullArrayOffset>
|
||||||
|
<PossiblyUndefinedArrayOffset>
|
||||||
|
<code><![CDATA[$res['id']]]></code>
|
||||||
|
</PossiblyUndefinedArrayOffset>
|
||||||
|
<RedundantFunctionCall>
|
||||||
|
<code>array_values</code>
|
||||||
|
</RedundantFunctionCall>
|
||||||
</file>
|
</file>
|
||||||
<file src="src/MTProtoTools/ReferenceDatabase.php">
|
<file src="src/MTProtoTools/ReferenceDatabase.php">
|
||||||
|
<ParadoxicalCondition>
|
||||||
|
<code><![CDATA[$frame['args'][1]['type'] === $previous]]></code>
|
||||||
|
</ParadoxicalCondition>
|
||||||
<PossiblyNullArrayAccess>
|
<PossiblyNullArrayAccess>
|
||||||
<code><![CDATA[$this->API->authorization['user']]]></code>
|
<code><![CDATA[$this->API->authorization['user']]]></code>
|
||||||
<code><![CDATA[$this->API->authorization['user']]]></code>
|
<code><![CDATA[$this->API->authorization['user']]]></code>
|
||||||
@ -1838,10 +1869,16 @@
|
|||||||
</PropertyNotSetInConstructor>
|
</PropertyNotSetInConstructor>
|
||||||
</file>
|
</file>
|
||||||
<file src="src/Serialization.php">
|
<file src="src/Serialization.php">
|
||||||
|
<InvalidNullableReturnType>
|
||||||
|
<code>array{0: (ChannelledSocket|APIWrapper|Throwable|null|0), 1: (callable|null)}</code>
|
||||||
|
</InvalidNullableReturnType>
|
||||||
<NullableReturnStatement>
|
<NullableReturnStatement>
|
||||||
<code>$ipcSocket</code>
|
<code>$ipcSocket</code>
|
||||||
<code>$ipcSocket</code>
|
<code>$ipcSocket</code>
|
||||||
</NullableReturnStatement>
|
</NullableReturnStatement>
|
||||||
|
<UndefinedVariable>
|
||||||
|
<code>$warningId</code>
|
||||||
|
</UndefinedVariable>
|
||||||
</file>
|
</file>
|
||||||
<file src="src/SessionPaths.php">
|
<file src="src/SessionPaths.php">
|
||||||
<LessSpecificReturnStatement>
|
<LessSpecificReturnStatement>
|
||||||
@ -1876,6 +1913,10 @@
|
|||||||
<InvalidArgument>
|
<InvalidArgument>
|
||||||
<code>$entities</code>
|
<code>$entities</code>
|
||||||
</InvalidArgument>
|
</InvalidArgument>
|
||||||
|
<PossiblyInvalidPropertyFetch>
|
||||||
|
<code><![CDATA[$entity->length]]></code>
|
||||||
|
<code><![CDATA[$entity->offset]]></code>
|
||||||
|
</PossiblyInvalidPropertyFetch>
|
||||||
</file>
|
</file>
|
||||||
<file src="src/Stream/ADNLTransport/ADNLStream.php">
|
<file src="src/Stream/ADNLTransport/ADNLStream.php">
|
||||||
<MissingPropertyType>
|
<MissingPropertyType>
|
||||||
@ -2134,6 +2175,8 @@
|
|||||||
<code><![CDATA[$args['entities']]]></code>
|
<code><![CDATA[$args['entities']]]></code>
|
||||||
</PossiblyInvalidIterator>
|
</PossiblyInvalidIterator>
|
||||||
<PossiblyUndefinedArrayOffset>
|
<PossiblyUndefinedArrayOffset>
|
||||||
|
<code>$arguments[$key]</code>
|
||||||
|
<code>$arguments[$key]</code>
|
||||||
<code>$arguments[$key]</code>
|
<code>$arguments[$key]</code>
|
||||||
<code><![CDATA[$data['document']]]></code>
|
<code><![CDATA[$data['document']]]></code>
|
||||||
</PossiblyUndefinedArrayOffset>
|
</PossiblyUndefinedArrayOffset>
|
||||||
@ -2293,6 +2336,9 @@
|
|||||||
<code>__invoke</code>
|
<code>__invoke</code>
|
||||||
<code>__invoke</code>
|
<code>__invoke</code>
|
||||||
</PossiblyNullReference>
|
</PossiblyNullReference>
|
||||||
|
<TypeDoesNotContainNull>
|
||||||
|
<code>$buffer === null</code>
|
||||||
|
</TypeDoesNotContainNull>
|
||||||
<UnsupportedReferenceUsage>
|
<UnsupportedReferenceUsage>
|
||||||
<code><![CDATA[$this->{$var} =& $val]]></code>
|
<code><![CDATA[$this->{$var} =& $val]]></code>
|
||||||
</UnsupportedReferenceUsage>
|
</UnsupportedReferenceUsage>
|
||||||
|
Loading…
Reference in New Issue
Block a user