Skip to content

Commit

Permalink
Update tools
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Nov 21, 2020
1 parent 00cb4e3 commit 14eb51b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .phive/phars.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<phar name="php-cs-fixer" version="^2.16" installed="2.16.7" location="./tools/php-cs-fixer" copy="true"/>
<phar name="phpdox" version="^0.12" installed="0.12.0" location="./tools/phpdox" copy="true"/>
<phar name="phploc" version="^4.0" installed="4.0.1" location="./tools/phploc" copy="true"/>
<phar name="psalm" version="^4.0" installed="4.1.1" location="./tools/psalm" copy="true"/>
<phar name="psalm" version="^4.0" installed="4.2.1" location="./tools/psalm" copy="true"/>
<phar name="humbug/php-scoper" version="^0.13.9" installed="0.13.9" location="./tools/php-scoper" copy="true"/>
<phar name="roave/backwardcompatibilitycheck" version="^5.0.0" installed="5.0.0" location="./tools/roave-backward-compatibility-check" copy="true"/>
<phar name="composer" version="^2.0.3" installed="2.0.7" location="./tools/composer" copy="true"/>
Expand Down
13 changes: 3 additions & 10 deletions .psalm/baseline.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="4.1.1@16bfbd9224698bd738c665f33039fade2a1a3977">
<files psalm-version="4.2.1@ea9cb72143b77e7520c52fa37290bd8d8bc88fd9">
<file src="src/Framework/Assert.php">
<ArgumentTypeCoercion occurrences="2">
<code>$actualElement-&gt;childNodes-&gt;item($i)</code>
Expand Down Expand Up @@ -35,7 +35,7 @@
<code>static::readAttribute($haystackClassOrObject, $haystackAttributeName)</code>
<code>static::readAttribute($haystackClassOrObject, $haystackAttributeName)</code>
</DeprecatedMethod>
<DocblockTypeContradiction occurrences="27">
<DocblockTypeContradiction occurrences="21">
<code>!$actual instanceof Countable &amp;&amp; !\is_iterable($actual)</code>
<code>!$actual instanceof Countable &amp;&amp; !\is_iterable($actual)</code>
<code>!$expected instanceof Countable &amp;&amp; !\is_iterable($expected)</code>
Expand All @@ -52,12 +52,6 @@
<code>\is_array($subset) || $subset instanceof ArrayAccess</code>
<code>\is_int($key) || \is_string($key)</code>
<code>\is_int($key) || \is_string($key)</code>
<code>\is_iterable($actual)</code>
<code>\is_iterable($actual)</code>
<code>\is_iterable($expected)</code>
<code>\is_iterable($expected)</code>
<code>\is_iterable($haystack)</code>
<code>\is_iterable($haystack)</code>
<code>\is_object($object)</code>
<code>\is_object($object)</code>
<code>\is_object($object)</code>
Expand Down Expand Up @@ -640,10 +634,9 @@
<code>$className</code>
<code>$interfaceName</code>
</ArgumentTypeCoercion>
<DocblockTypeContradiction occurrences="3">
<DocblockTypeContradiction occurrences="2">
<code>!\is_array($methods) &amp;&amp; null !== $methods</code>
<code>!\is_array($type) &amp;&amp; !\is_string($type)</code>
<code>\is_string($type)</code>
</DocblockTypeContradiction>
<InvalidReturnStatement occurrences="1"/>
<InvalidReturnType occurrences="1">
Expand Down
Binary file modified tools/psalm
Binary file not shown.

0 comments on commit 14eb51b

Please sign in to comment.