Skip to content

Commit 5dafcd8

Browse files
Update Psalm baseline
1 parent aaf421d commit 5dafcd8

File tree

1 file changed

+26
-3
lines changed

1 file changed

+26
-3
lines changed

.psalm/baseline.xml

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,16 @@
600600
<MissingReturnType>
601601
<code>getObject</code>
602602
</MissingReturnType>
603+
<MissingThrowsDocblock>
604+
<code>getMock</code>
605+
<code>getMock</code>
606+
<code>getMock</code>
607+
<code>getMock</code>
608+
<code>getMock</code>
609+
<code>getMock</code>
610+
<code>getMock</code>
611+
<code>getMock</code>
612+
</MissingThrowsDocblock>
603613
<PossiblyNullArgument>
604614
<code><![CDATA[$client->__getFunctions()]]></code>
605615
</PossiblyNullArgument>
@@ -673,6 +683,14 @@
673683
<code>$type</code>
674684
</PossiblyInvalidPropertyAssignmentValue>
675685
</file>
686+
<file src="src/Framework/MockObject/MockClass.php">
687+
<LessSpecificReturnStatement>
688+
<code><![CDATA[$this->mockName]]></code>
689+
</LessSpecificReturnStatement>
690+
<MoreSpecificReturnType>
691+
<code>class-string</code>
692+
</MoreSpecificReturnType>
693+
</file>
676694
<file src="src/Framework/MockObject/MockMethod.php">
677695
<PossiblyFalseOperand>
678696
<code><![CDATA[strpos($parameterAsString, '<optional> ')]]></code>
@@ -697,6 +715,14 @@
697715
<code>$originalObject</code>
698716
</MissingParamType>
699717
</file>
718+
<file src="src/Framework/MockObject/MockTrait.php">
719+
<LessSpecificReturnStatement>
720+
<code><![CDATA[$this->mockName]]></code>
721+
</LessSpecificReturnStatement>
722+
<MoreSpecificReturnType>
723+
<code>class-string</code>
724+
</MoreSpecificReturnType>
725+
</file>
700726
<file src="src/Framework/MockObject/Rule/InvocationOrder.php">
701727
<MissingReturnType>
702728
<code>invoked</code>
@@ -941,9 +967,6 @@
941967
);]]></code>
942968
<code><![CDATA[throw new Exception('This test uses TestCase::prophesize(), but phpspec/prophecy is not installed. Please run "composer require --dev phpspec/prophecy".');]]></code>
943969
</MissingThrowsDocblock>
944-
<NoValue>
945-
<code><![CDATA[$this->dataName]]></code>
946-
</NoValue>
947970
<PossiblyNullPropertyAssignmentValue>
948971
<code>$beStrictAboutChangesToGlobalState</code>
949972
<code>null</code>

0 commit comments

Comments
 (0)