Skip to content

Commit 6904cfa

Browse files
Merge branch '8.5' into 9.6
2 parents 19c72d4 + 9e40d7a commit 6904cfa

File tree

3 files changed

+24
-2
lines changed

3 files changed

+24
-2
lines changed

.phive/phars.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<phive xmlns="https://phar.io/phive">
33
<phar name="phpab" version="^1.25" installed="1.28.0" location="./tools/phpab" copy="true"/>
44
<phar name="php-cs-fixer" version="^3.0" installed="3.22.0" location="./tools/php-cs-fixer" copy="true"/>
5-
<phar name="psalm" version="^5.0" installed="5.13.1" location="./tools/psalm" copy="true"/>
5+
<phar name="psalm" version="^5.0" installed="5.14.1" location="./tools/psalm" copy="true"/>
66
<phar name="humbug/php-scoper" version="^0.18.1" installed="0.18.3" location="./tools/php-scoper" copy="true"/>
77
<phar name="composer" version="^2.0.3" installed="2.5.8" location="./tools/composer" copy="true"/>
88
</phive>

.psalm/baseline.xml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<files psalm-version="5.13.1@086b94371304750d1c673315321a55d15fc59015">
2+
<files psalm-version="5.14.1@b9d355e0829c397b9b3b47d0c0ed042a8a70284d">
33
<file src="src/Framework/Assert.php">
44
<ArgumentTypeCoercion>
55
<code><![CDATA[$actualElement->childNodes->item($i)]]></code>
@@ -453,7 +453,15 @@
453453
<code>$constraint</code>
454454
</MissingParamType>
455455
</file>
456+
<file src="src/Framework/Constraint/String/RegularExpression.php">
457+
<ArgumentTypeCoercion>
458+
<code><![CDATA[$this->pattern]]></code>
459+
</ArgumentTypeCoercion>
460+
</file>
456461
<file src="src/Framework/Constraint/String/StringMatchesFormatDescription.php">
462+
<ArgumentTypeCoercion>
463+
<code>$line</code>
464+
</ArgumentTypeCoercion>
457465
<MissingThrowsDocblock>
458466
<code><![CDATA[new Differ(new UnifiedDiffOutputBuilder("--- Expected\n+++ Actual\n"))]]></code>
459467
</MissingThrowsDocblock>
@@ -1090,6 +1098,9 @@
10901098
</MissingTemplateParam>
10911099
</file>
10921100
<file src="src/Runner/Filter/NameFilterIterator.php">
1101+
<ArgumentTypeCoercion>
1102+
<code><![CDATA[$this->filter]]></code>
1103+
</ArgumentTypeCoercion>
10931104
<MissingTemplateParam>
10941105
<code>NameFilterIterator</code>
10951106
</MissingTemplateParam>
@@ -1161,6 +1172,9 @@
11611172
<code>$parameters</code>
11621173
<code>array_merge(self::LONG_OPTIONS, $additionalLongOptions)</code>
11631174
</ArgumentTypeCoercion>
1175+
<InvalidArgument>
1176+
<code>$unrecognizedOptions</code>
1177+
</InvalidArgument>
11641178
<MissingThrowsDocblock>
11651179
<code><![CDATA[throw new Exception(
11661180
$e->getMessage(),
@@ -1755,6 +1769,11 @@
17551769
<code>$filter</code>
17561770
</ArgumentTypeCoercion>
17571771
</file>
1772+
<file src="src/Util/RegularExpression.php">
1773+
<ArgumentTypeCoercion>
1774+
<code>$pattern</code>
1775+
</ArgumentTypeCoercion>
1776+
</file>
17581777
<file src="src/Util/Test.php">
17591778
<MissingReturnType>
17601779
<code>sanitizeVersionNumber</code>
@@ -1818,6 +1837,9 @@
18181837
$e,
18191838
);]]></code>
18201839
</MissingThrowsDocblock>
1840+
<PossiblyInvalidArgument>
1841+
<code>preg_replace($variables, $providedData, $annotation)</code>
1842+
</PossiblyInvalidArgument>
18211843
<RedundantConditionGivenDocblockType>
18221844
<code>is_string($value)</code>
18231845
</RedundantConditionGivenDocblockType>

tools/psalm

33.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)