Skip to content

Commit

Permalink
Updated psalm-baseline.xml
Browse files Browse the repository at this point in the history
Every psalm fix makes results in new errors...

Signed-off-by: Gennadiy Litvinyuk <gennadiy@gmail.com>
  • Loading branch information
gennadiylitvinyuk committed Apr 3, 2021
1 parent b5e9147 commit 6c0b64e
Showing 1 changed file with 14 additions and 51 deletions.
65 changes: 14 additions & 51 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3753,9 +3753,6 @@
</UnusedClosureParam>
</file>
<file src="test/Transport/FileTest.php">
<MissingParamType occurrences="1">
<code>$dir</code>
</MissingParamType>
<MixedArgument occurrences="1">
<code>$file</code>
</MixedArgument>
Expand All @@ -3767,9 +3764,6 @@
<code>getLastFile</code>
<code>send</code>
</MixedMethodCall>
<MixedOperand occurrences="1">
<code>$dir</code>
</MixedOperand>
<UndefinedThisPropertyAssignment occurrences="1">
<code>$this-&gt;transport</code>
</UndefinedThisPropertyAssignment>
Expand All @@ -3785,16 +3779,19 @@
<code>$subject</code>
<code>$to</code>
</MissingClosureParamType>
<MissingPropertyType occurrences="7">
<code>$additional_headers</code>
<code>$additional_parameters</code>
<code>$message</code>
<code>$operating_system</code>
<code>$subject</code>
<code>$to</code>
<code>$transport</code>
</MissingPropertyType>
<MixedArgument occurrences="14">
<MixedAssignment occurrences="7">
<code>$parameters</code>
<code>$parameters</code>
<code>$this-&gt;additional_headers</code>
<code>$this-&gt;additional_parameters</code>
<code>$this-&gt;message</code>
<code>$this-&gt;subject</code>
<code>$this-&gt;to</code>
</MixedAssignment>
<PossiblyInvalidArgument occurrences="1">
<code>testDoesNotInjectFromParameterFromSenderWhenFromOptionPresentInParameters</code>
</PossiblyInvalidArgument>
<PossiblyNullArgument occurrences="9">
<code>$this-&gt;additional_headers</code>
<code>$this-&gt;additional_headers</code>
<code>$this-&gt;additional_headers</code>
Expand All @@ -3804,46 +3801,12 @@
<code>$this-&gt;message</code>
<code>$this-&gt;message</code>
<code>$this-&gt;message</code>
<code>$this-&gt;transport</code>
<code>$this-&gt;transport</code>
<code>$this-&gt;transport</code>
<code>$this-&gt;transport</code>
<code>$this-&gt;transport</code>
</MixedArgument>
<MixedAssignment occurrences="2">
<code>$parameters</code>
<code>$parameters</code>
</MixedAssignment>
<MixedInferredReturnType occurrences="1">
<code>iterable</code>
</MixedInferredReturnType>
<MixedMethodCall occurrences="14">
<code>send</code>
<code>send</code>
<code>send</code>
<code>send</code>
<code>send</code>
<code>send</code>
<code>send</code>
<code>send</code>
<code>send</code>
<code>send</code>
<code>send</code>
<code>setParameters</code>
<code>setParameters</code>
<code>setParameters</code>
</MixedMethodCall>
</PossiblyNullArgument>
</file>
<file src="test/Transport/SmtpTest.php">
<DeprecatedMethod occurrences="2">
<code>setMethods</code>
<code>setMethods</code>
</DeprecatedMethod>
<MixedAssignment occurrences="1">
<code>$connectedTimeAfterFirstMail</code>
</MixedAssignment>
<RedundantCondition occurrences="1">
<code>assertNotNull</code>
</RedundantCondition>
</file>
</files>

0 comments on commit 6c0b64e

Please sign in to comment.