Skip to content

Commit

Permalink
updating baseline following syntax changes allowed by dropping php 5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
bapcltd-marv committed Jan 15, 2020
1 parent 209f8d7 commit fdf0712
Showing 1 changed file with 5 additions and 29 deletions.
34 changes: 5 additions & 29 deletions psalm.baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,14 @@
</PropertyTypeCoercion>
</file>
<file src="src/PhpImap/Mailbox.php">
<DocblockTypeContradiction occurrences="2">
<code>\is_int($retriesNum)</code>
<DocblockTypeContradiction occurrences="1">
<code>\is_resource($this-&gt;imapStream)</code>
</DocblockTypeContradiction>
<InvalidScalarArgument occurrences="3">
<code>$mail-&gt;id</code>
<code>$mail-&gt;id</code>
<code>$option &amp;&amp; FT_PREFETCHTEXT</code>
</InvalidScalarArgument>
<MissingParamType occurrences="5">
<code>$str</code>
<code>$str</code>
<code>$mailId</code>
<code>$mailId</code>
<code>$mailId</code>
</MissingParamType>
<MixedArgument occurrences="50">
<code>$mail-&gt;subject</code>
<code>$mail-&gt;subject</code>
Expand Down Expand Up @@ -79,7 +71,7 @@
<code>$t[1]-&gt;personal</code>
<code>$t[1]-&gt;personal</code>
</MixedArgument>
<MixedAssignment occurrences="13">
<MixedAssignment occurrences="12">
<code>$value</code>
<code>$to</code>
<code>$cc</code>
Expand All @@ -92,12 +84,7 @@
<code>$fileName</code>
<code>$attachment-&gt;disposition</code>
<code>$element</code>
<code>$item</code>
</MixedAssignment>
<MixedInferredReturnType occurrences="2">
<code>string</code>
<code>string</code>
</MixedInferredReturnType>
<MixedOperand occurrences="7">
<code>$params[$paramName]</code>
<code>$subPartNum</code>
Expand All @@ -107,7 +94,7 @@
<code>$recipient-&gt;host</code>
<code>$t[0]-&gt;mailbox</code>
</MixedOperand>
<MixedPropertyFetch occurrences="20">
<MixedPropertyFetch occurrences="17">
<code>$param-&gt;value</code>
<code>$param-&gt;value</code>
<code>$param-&gt;attribute</code>
Expand All @@ -120,19 +107,12 @@
<code>$element-&gt;charset</code>
<code>$element-&gt;charset</code>
<code>$element-&gt;text</code>
<code>$item-&gt;name</code>
<code>$item-&gt;attributes</code>
<code>$item-&gt;delimiter</code>
<code>$t[0]-&gt;host</code>
<code>$t[1]-&gt;host</code>
<code>$t[0]-&gt;personal</code>
<code>$t[1]-&gt;personal</code>
<code>$t[0]-&gt;mailbox</code>
</MixedPropertyFetch>
<MixedReturnStatement occurrences="2">
<code>$str</code>
<code>$str</code>
</MixedReturnStatement>
<PossiblyInvalidArgument occurrences="1">
<code>$mailStructure</code>
</PossiblyInvalidArgument>
Expand Down Expand Up @@ -183,12 +163,8 @@
<code>subscribeMailbox</code>
<code>unsubscribeMailbox</code>
</PossiblyUnusedMethod>
<RedundantCondition occurrences="1">
<code>null != $params and !empty($params)</code>
</RedundantCondition>
<RedundantConditionGivenDocblockType occurrences="3">
<code>!\is_int($retriesNum) or $retriesNum &lt; 0</code>
<code>\is_int($retriesNum)</code>
<RedundantCondition occurrences="1"/>
<RedundantConditionGivenDocblockType occurrences="1">
<code>!\is_resource($this-&gt;imapStream) || !imap_ping($this-&gt;imapStream)</code>
</RedundantConditionGivenDocblockType>
<UnusedVariable occurrences="1">
Expand Down

0 comments on commit fdf0712

Please sign in to comment.