Skip to content

Commit

Permalink
Update Psalm baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jun 5, 2024
1 parent fac4a17 commit 08afdd8
Showing 1 changed file with 0 additions and 48 deletions.
48 changes: 0 additions & 48 deletions .psalm/baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -232,20 +232,7 @@
<ArgumentTypeCoercion>
<code><![CDATA[$className]]></code>
<code><![CDATA[$methods]]></code>
<code><![CDATA[$type]]></code>
</ArgumentTypeCoercion>
<DeprecatedClass>
<code><![CDATA[new MockTrait(
$classTemplate->render(),
$className['className'],
)]]></code>
<code><![CDATA[new MockTrait($classTemplate->render(), $className['className'])]]></code>
<code><![CDATA[new UnknownTraitException($traitName)]]></code>
<code><![CDATA[new UnknownTraitException($traitName)]]></code>
</DeprecatedClass>
<DeprecatedMethod>
<code><![CDATA[mockObjectForAbstractClass]]></code>
</DeprecatedMethod>
<MissingThrowsDocblock>
<code><![CDATA[getMethod]]></code>
<code><![CDATA[testDouble]]></code>
Expand All @@ -256,13 +243,6 @@
<code><![CDATA[testDouble]]></code>
<code><![CDATA[testDouble]]></code>
</MissingThrowsDocblock>
<PossiblyNullArgument>
<code><![CDATA[$client->__getFunctions()]]></code>
</PossiblyNullArgument>
<RiskyTruthyFalsyComparison>
<code><![CDATA[!$parameterStart]]></code>
<code><![CDATA[empty($methods)]]></code>
</RiskyTruthyFalsyComparison>
</file>
<file src="src/Framework/MockObject/Generator/MockClass.php">
<LessSpecificReturnStatement>
Expand All @@ -284,7 +264,6 @@
'method_name' => $this->methodName,
'modifier' => $this->modifier,
'reference' => $this->reference,
'clone_arguments' => $this->cloneArguments ? 'true' : 'false',
'deprecation' => $deprecation,
'return_result' => $returnResult,
]]]></code>
Expand All @@ -293,28 +272,12 @@
<code><![CDATA[strpos($parameterAsString, '<optional> ')]]></code>
</PossiblyFalseOperand>
</file>
<file src="src/Framework/MockObject/Generator/MockTrait.php">
<LessSpecificReturnStatement>
<code><![CDATA[$this->mockName]]></code>
</LessSpecificReturnStatement>
<MoreSpecificReturnType>
<code><![CDATA[class-string]]></code>
</MoreSpecificReturnType>
</file>
<file src="src/Framework/MockObject/MockBuilder.php">
<DeprecatedMethod>
<code><![CDATA[mockObjectForAbstractClass]]></code>
<code><![CDATA[mockObjectForTrait]]></code>
</DeprecatedMethod>
<InvalidReturnStatement>
<code><![CDATA[$object]]></code>
<code><![CDATA[$object]]></code>
<code><![CDATA[$object]]></code>
</InvalidReturnStatement>
<InvalidReturnType>
<code><![CDATA[MockObject&MockedType]]></code>
<code><![CDATA[MockObject&MockedType]]></code>
<code><![CDATA[MockObject&MockedType]]></code>
</InvalidReturnType>
</file>
<file src="src/Framework/MockObject/Runtime/Builder/InvocationMocker.php">
Expand Down Expand Up @@ -350,19 +313,8 @@
<file src="src/Framework/TestCase.php">
<ArgumentTypeCoercion>
<code><![CDATA[$e->getMessage()]]></code>
<code><![CDATA[$mockClassName]]></code>
<code><![CDATA[$originalClassName]]></code>
<code><![CDATA[$this->expectedException]]></code>
</ArgumentTypeCoercion>
<DeprecatedMethod>
<code><![CDATA[disableArgumentCloning]]></code>
<code><![CDATA[disallowMockingUnknownTypes]]></code>
<code><![CDATA[enableProxyingToOriginalMethods]]></code>
<code><![CDATA[generateClassFromWsdl]]></code>
<code><![CDATA[mockObjectForAbstractClass]]></code>
<code><![CDATA[mockObjectForTrait]]></code>
<code><![CDATA[objectForTrait]]></code>
</DeprecatedMethod>
<MissingThrowsDocblock>
<code><![CDATA[getMethod]]></code>
</MissingThrowsDocblock>
Expand Down

0 comments on commit 08afdd8

Please sign in to comment.