Skip to content

Commit 5baa781

Browse files
committed
Update psalm baseline
1 parent 7851a35 commit 5baa781

File tree

1 file changed

+23
-4
lines changed

1 file changed

+23
-4
lines changed

build/psalm/baseline.xml

+23-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,31 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<files psalm-version="5.20.0@3f284e96c9d9be6fe6b15c79416e1d1903dcfef4">
2+
<files psalm-version="5.23.1@8471a896ccea3526b26d082f4461eeea467f10a4">
3+
<file src="src/csrfprotection/CSRFProtectionRenderer.php">
4+
<TypeDoesNotContainNull>
5+
<code><![CDATA[$context->ownerDocument === null]]></code>
6+
</TypeDoesNotContainNull>
7+
</file>
38
<file src="src/formdata/FormDataRenderer.php">
49
<InvalidArgument>
5-
<code>$options</code>
6-
<code>$result</code>
10+
<code><![CDATA[$options]]></code>
11+
<code><![CDATA[$result]]></code>
712
</InvalidArgument>
13+
<RedundantCondition>
14+
<code><![CDATA[assert($ownerDocument instanceof DOMDocument)]]></code>
15+
</RedundantCondition>
816
</file>
917
<file src="src/merger/Merger.php">
1018
<InvalidArgument>
1119
<code><![CDATA[(new DOMXPath($owner))->query('.//*[@id]', $context)]]></code>
1220
</InvalidArgument>
21+
<RedundantCondition>
22+
<code><![CDATA[assert($owner instanceof DOMDocument)]]></code>
23+
</RedundantCondition>
24+
</file>
25+
<file src="src/selectors/XPathSelector.php">
26+
<RedundantCondition>
27+
<code><![CDATA[assert($dom instanceof DOMDocument)]]></code>
28+
</RedundantCondition>
1329
</file>
1430
<file src="src/viewmodel/ViewModelRenderer.php">
1531
<InvalidArgument>
@@ -23,7 +39,10 @@
2339
)]]></code>
2440
</InvalidArgument>
2541
<PossiblyUndefinedMethod>
26-
<code>cloneNode</code>
42+
<code><![CDATA[cloneNode]]></code>
2743
</PossiblyUndefinedMethod>
44+
<TypeDoesNotContainNull>
45+
<code><![CDATA[$document === null]]></code>
46+
</TypeDoesNotContainNull>
2847
</file>
2948
</files>

0 commit comments

Comments
 (0)