Skip to content

Commit

Permalink
Update psalm baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
alcaeus committed Sep 19, 2024
1 parent bb4bb56 commit b06bffe
Showing 1 changed file with 12 additions and 24 deletions.
36 changes: 12 additions & 24 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
<code><![CDATA[$document['name']]]></code>
<code><![CDATA[$index->name]]></code>
</MixedArgument>
<MixedArrayAccess>
<code><![CDATA[$document['name']]]></code>
</MixedArrayAccess>
<MixedAssignment>
<code><![CDATA[$document]]></code>
<code><![CDATA[$index]]></code>
<code><![CDATA[$index]]></code>
<code><![CDATA[$index]]></code>
Expand All @@ -23,6 +19,9 @@
<PossiblyFalseArgument>
<code><![CDATA[$uri]]></code>
</PossiblyFalseArgument>
<PossiblyInvalidArrayAccess>
<code><![CDATA[$document['name']]]></code>
</PossiblyInvalidArrayAccess>
</file>
<file src="examples/persistable.php">
<LessSpecificReturnStatement>
Expand Down Expand Up @@ -184,9 +183,6 @@
<DeprecatedConstant>
<code><![CDATA[self::CURSOR_NOT_FOUND]]></code>
</DeprecatedConstant>
<TooManyArguments>
<code><![CDATA[getId]]></code>
</TooManyArguments>
</file>
<file src="src/Client.php">
<MixedArgument>
Expand Down Expand Up @@ -339,6 +335,15 @@
</MixedArgument>
</file>
<file src="src/Model/ChangeStreamIterator.php">
<InvalidReturnStatement>
<code><![CDATA[$cursor]]></code>
</InvalidReturnStatement>
<InvalidReturnType>
<code><![CDATA[CursorInterface<TValue>]]></code>
</InvalidReturnType>
<LessSpecificImplementedReturnType>
<code><![CDATA[CursorInterface<TValue>]]></code>
</LessSpecificImplementedReturnType>
<MixedArgument>
<code><![CDATA[$reply->cursor->nextBatch]]></code>
</MixedArgument>
Expand All @@ -354,11 +359,6 @@
<code><![CDATA[$this->current()]]></code>
</PossiblyNullArgument>
</file>
<file src="src/Model/CodecCursor.php">
<TooManyArguments>
<code><![CDATA[getId]]></code>
</TooManyArguments>
</file>
<file src="src/Model/CollectionInfoCommandIterator.php">
<MixedArrayAssignment>
<code><![CDATA[$info['idIndex']['ns']]]></code>
Expand Down Expand Up @@ -713,18 +713,6 @@
<code><![CDATA[is_object($result) ? ($result->value ?? null) : null]]></code>
</MixedReturnStatement>
</file>
<file src="src/Operation/FindOne.php">
<MixedAssignment>
<code><![CDATA[$document]]></code>
</MixedAssignment>
<MixedInferredReturnType>
<code><![CDATA[array|object|null]]></code>
</MixedInferredReturnType>
<MixedReturnStatement>
<code><![CDATA[$document === false ? null : $document]]></code>
<code><![CDATA[$document === false ? null : $document]]></code>
</MixedReturnStatement>
</file>
<file src="src/Operation/FindOneAndDelete.php">
<MixedAssignment>
<code><![CDATA[$options['fields']]]></code>
Expand Down

0 comments on commit b06bffe

Please sign in to comment.