Skip to content

Commit 1b02a08

Browse files
Update Psalm baseline
1 parent b84b397 commit 1b02a08

File tree

1 file changed

+3
-36
lines changed

1 file changed

+3
-36
lines changed

.psalm/baseline.xml

+3-36
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<files psalm-version="3.9.4@352bd3f5c5789db04e4010856c2f4e01ed354f4e">
2+
<files psalm-version="3.11.2@d470903722cfcbc1cd04744c5491d3e6d13ec3d9">
33
<file src="src/Framework/Assert.php">
44
<ArgumentTypeCoercion occurrences="2">
55
<code>$expectedElement-&gt;childNodes-&gt;item($i)</code>
@@ -88,31 +88,6 @@
8888
<code>$t-&gt;getPrevious()</code>
8989
</PossiblyNullArgument>
9090
</file>
91-
<file src="src/Framework/MockObject/Builder/InvocationMocker.php">
92-
<ImplementedReturnTypeMismatch occurrences="1">
93-
<code>self</code>
94-
</ImplementedReturnTypeMismatch>
95-
<LessSpecificReturnStatement occurrences="8">
96-
<code>$this-&gt;will($stub)</code>
97-
<code>$this-&gt;will($stub)</code>
98-
<code>$this-&gt;will($stub)</code>
99-
<code>$this-&gt;will($stub)</code>
100-
<code>$this-&gt;will($stub)</code>
101-
<code>$this-&gt;will($stub)</code>
102-
<code>$this-&gt;will($stub)</code>
103-
<code>$this-&gt;will($stub)</code>
104-
</LessSpecificReturnStatement>
105-
<MoreSpecificReturnType occurrences="8">
106-
<code>self</code>
107-
<code>self</code>
108-
<code>self</code>
109-
<code>self</code>
110-
<code>self</code>
111-
<code>self</code>
112-
<code>self</code>
113-
<code>self</code>
114-
</MoreSpecificReturnType>
115-
</file>
11691
<file src="src/Framework/MockObject/Generator.php">
11792
<ArgumentTypeCoercion occurrences="4">
11893
<code>$className</code>
@@ -172,14 +147,11 @@
172147
<code>$header</code>
173148
</InvalidArgument>
174149
<InvalidCatch occurrences="1"/>
175-
<InvalidReturnStatement occurrences="5">
150+
<InvalidReturnStatement occurrences="2">
176151
<code>\get_class($mock)</code>
177152
<code>$mockObject</code>
178153
</InvalidReturnStatement>
179-
<InvalidReturnType occurrences="5">
180-
<code>MockObject&amp;RealInstanceType</code>
181-
<code>MockObject&amp;RealInstanceType</code>
182-
<code>MockObject&amp;RealInstanceType</code>
154+
<InvalidReturnType occurrences="2">
183155
<code>class-string&lt;MockObject&amp;RealInstanceType&gt;</code>
184156
<code>MockObject&amp;RealInstanceType</code>
185157
</InvalidReturnType>
@@ -269,11 +241,6 @@
269241
<code>$option['desc']</code>
270242
</PossiblyUndefinedArrayOffset>
271243
</file>
272-
<file src="src/TextUI/ResultPrinter.php">
273-
<PossiblyUndefinedVariable occurrences="1">
274-
<code>$color</code>
275-
</PossiblyUndefinedVariable>
276-
</file>
277244
<file src="src/TextUI/TestRunner.php">
278245
<PossiblyNullPropertyAssignmentValue occurrences="1">
279246
<code>$loader</code>

0 commit comments

Comments
 (0)