Skip to content

Commit 14eb51b

Browse files
Update tools
1 parent 00cb4e3 commit 14eb51b

File tree

3 files changed

+4
-11
lines changed

3 files changed

+4
-11
lines changed

.phive/phars.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<phar name="php-cs-fixer" version="^2.16" installed="2.16.7" location="./tools/php-cs-fixer" copy="true"/>
55
<phar name="phpdox" version="^0.12" installed="0.12.0" location="./tools/phpdox" copy="true"/>
66
<phar name="phploc" version="^4.0" installed="4.0.1" location="./tools/phploc" copy="true"/>
7-
<phar name="psalm" version="^4.0" installed="4.1.1" location="./tools/psalm" copy="true"/>
7+
<phar name="psalm" version="^4.0" installed="4.2.1" location="./tools/psalm" copy="true"/>
88
<phar name="humbug/php-scoper" version="^0.13.9" installed="0.13.9" location="./tools/php-scoper" copy="true"/>
99
<phar name="roave/backwardcompatibilitycheck" version="^5.0.0" installed="5.0.0" location="./tools/roave-backward-compatibility-check" copy="true"/>
1010
<phar name="composer" version="^2.0.3" installed="2.0.7" location="./tools/composer" copy="true"/>

.psalm/baseline.xml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<files psalm-version="4.1.1@16bfbd9224698bd738c665f33039fade2a1a3977">
2+
<files psalm-version="4.2.1@ea9cb72143b77e7520c52fa37290bd8d8bc88fd9">
33
<file src="src/Framework/Assert.php">
44
<ArgumentTypeCoercion occurrences="2">
55
<code>$actualElement-&gt;childNodes-&gt;item($i)</code>
@@ -35,7 +35,7 @@
3535
<code>static::readAttribute($haystackClassOrObject, $haystackAttributeName)</code>
3636
<code>static::readAttribute($haystackClassOrObject, $haystackAttributeName)</code>
3737
</DeprecatedMethod>
38-
<DocblockTypeContradiction occurrences="27">
38+
<DocblockTypeContradiction occurrences="21">
3939
<code>!$actual instanceof Countable &amp;&amp; !\is_iterable($actual)</code>
4040
<code>!$actual instanceof Countable &amp;&amp; !\is_iterable($actual)</code>
4141
<code>!$expected instanceof Countable &amp;&amp; !\is_iterable($expected)</code>
@@ -52,12 +52,6 @@
5252
<code>\is_array($subset) || $subset instanceof ArrayAccess</code>
5353
<code>\is_int($key) || \is_string($key)</code>
5454
<code>\is_int($key) || \is_string($key)</code>
55-
<code>\is_iterable($actual)</code>
56-
<code>\is_iterable($actual)</code>
57-
<code>\is_iterable($expected)</code>
58-
<code>\is_iterable($expected)</code>
59-
<code>\is_iterable($haystack)</code>
60-
<code>\is_iterable($haystack)</code>
6155
<code>\is_object($object)</code>
6256
<code>\is_object($object)</code>
6357
<code>\is_object($object)</code>
@@ -640,10 +634,9 @@
640634
<code>$className</code>
641635
<code>$interfaceName</code>
642636
</ArgumentTypeCoercion>
643-
<DocblockTypeContradiction occurrences="3">
637+
<DocblockTypeContradiction occurrences="2">
644638
<code>!\is_array($methods) &amp;&amp; null !== $methods</code>
645639
<code>!\is_array($type) &amp;&amp; !\is_string($type)</code>
646-
<code>\is_string($type)</code>
647640
</DocblockTypeContradiction>
648641
<InvalidReturnStatement occurrences="1"/>
649642
<InvalidReturnType occurrences="1">

tools/psalm

80.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)