Skip to content

Commit 231d0ae

Browse files
Merge branch '8.5' into 9.6
2 parents b65d59a + 754fe22 commit 231d0ae

File tree

3 files changed

+27
-7
lines changed

3 files changed

+27
-7
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.27.2" location="./tools/phpab" copy="true"/>
44
<phar name="php-cs-fixer" version="^3.0" installed="3.15.1" location="./tools/php-cs-fixer" copy="true"/>
5-
<phar name="psalm" version="^5.0" installed="5.8.0" location="./tools/psalm" copy="true"/>
5+
<phar name="psalm" version="^5.0" installed="5.9.0" 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.5" location="./tools/composer" copy="true"/>
88
</phive>

.psalm/baseline.xml

Lines changed: 26 additions & 6 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="5.8.0@9cf4f60a333f779ad3bc704a555920e81d4fdcda">
2+
<files psalm-version="5.9.0@8b9ad1eb9e8b7d3101f949291da2b9f7767cd163">
33
<file src="src/Framework/Assert.php">
44
<ArgumentTypeCoercion>
55
<code><![CDATA[$actualElement->childNodes->item($i)]]></code>
@@ -1570,10 +1570,27 @@
15701570
</PropertyNotSetInConstructor>
15711571
</file>
15721572
<file src="src/Util/Annotation/DocBlock.php">
1573-
<MissingThrowsDocblock>
1574-
<code>throw new SkippedTestError;</code>
1575-
</MissingThrowsDocblock>
1576-
<MoreSpecificReturnType>
1573+
<InvalidPropertyAssignmentValue>
1574+
<code><![CDATA[array_merge(
1575+
$requires,
1576+
['__OFFSET' => $recordedOffsets],
1577+
array_filter([
1578+
'setting' => $recordedSettings,
1579+
'extension_versions' => $extensionVersions,
1580+
])
1581+
)]]></code>
1582+
</InvalidPropertyAssignmentValue>
1583+
<InvalidReturnStatement>
1584+
<code><![CDATA[$this->parsedRequirements = array_merge(
1585+
$requires,
1586+
['__OFFSET' => $recordedOffsets],
1587+
array_filter([
1588+
'setting' => $recordedSettings,
1589+
'extension_versions' => $extensionVersions,
1590+
])
1591+
)]]></code>
1592+
</InvalidReturnStatement>
1593+
<InvalidReturnType>
15771594
<code><![CDATA[array{
15781595
* __OFFSET: array<string, int>&array{__FILE: string},
15791596
* setting?: array<string, string>,
@@ -1582,7 +1599,10 @@
15821599
* string,
15831600
* string|array{version: string, operator: string}|array{constraint: string}|array<int|string, string>
15841601
* >]]></code>
1585-
</MoreSpecificReturnType>
1602+
</InvalidReturnType>
1603+
<MissingThrowsDocblock>
1604+
<code>throw new SkippedTestError;</code>
1605+
</MissingThrowsDocblock>
15861606
<RedundantCast>
15871607
<code><![CDATA[(string) $matches['value'][$i]]]></code>
15881608
</RedundantCast>

tools/psalm

235 KB
Binary file not shown.

0 commit comments

Comments
 (0)