Skip to content

Commit

Permalink
Update psalm-baseline.xml
Browse files Browse the repository at this point in the history
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
  • Loading branch information
ghostwriter committed Jun 6, 2023
1 parent 1272c51 commit ca0ea89
Showing 1 changed file with 20 additions and 14 deletions.
34 changes: 20 additions & 14 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.9.0@8b9ad1eb9e8b7d3101f949291da2b9f7767cd163">
<files psalm-version="5.12.0@f90118cdeacd0088e7215e64c0c99ceca819e176">
<file src="library/Mockery.php">
<ArgumentTypeCoercion>
<code>$expectation</code>
Expand Down Expand Up @@ -56,7 +56,6 @@
<code>$fileName</code>
<code>$formatter($object, $nesting)</code>
<code>$fqn</code>
<code>$fqn</code>
<code>$n</code>
<code>$nesting</code>
<code>$object</code>
Expand Down Expand Up @@ -1094,7 +1093,6 @@
<code>$alias</code>
<code><![CDATA[$class->getMethods()]]></code>
<code>$className</code>
<code>$className</code>
<code><![CDATA[$method->getName()]]></code>
<code><![CDATA[$method->getName()]]></code>
<code>$methods</code>
Expand Down Expand Up @@ -1546,7 +1544,6 @@
<file src="library/Mockery/Generator/StringManipulation/Pass/MethodDefinitionPass.php">
<InvalidCast>
<code>$param</code>
<code>$param</code>
</InvalidCast>
<InvalidMethodCall>
<code>getName</code>
Expand Down Expand Up @@ -1634,6 +1631,9 @@
<PossiblyFalseArgument>
<code>$lastBrace</code>
</PossiblyFalseArgument>
<TypeDoesNotContainType>
<code><![CDATA[strpos($param, '&') !== false]]></code>
</TypeDoesNotContainType>
</file>
<file src="library/Mockery/Generator/StringManipulation/Pass/Pass.php">
<MissingParamType>
Expand Down Expand Up @@ -2042,6 +2042,14 @@
<code>$actual</code>
</MixedArgument>
</file>
<file src="library/Mockery/Matcher/IsSame.php">
<MethodSignatureMustProvideReturnType>
<code>__toString</code>
</MethodSignatureMustProvideReturnType>
<UnusedClass>
<code>IsSame</code>
</UnusedClass>
</file>
<file src="library/Mockery/Matcher/MatcherAbstract.php">
<MethodSignatureMustProvideReturnType>
<code>__toString</code>
Expand Down Expand Up @@ -2361,14 +2369,6 @@
<InvalidArgument>
<code>$declaringClass</code>
</InvalidArgument>
<InvalidReturnStatement>
<code><![CDATA[[
[
'typeHint' => $typeHint,
'isPrimitive' => in_array($typeHint, ['array', 'bool', 'int', 'float', 'null', 'object', 'string']),
],
]]]></code>
</InvalidReturnStatement>
<LessSpecificReturnType>
<code>string|null</code>
</LessSpecificReturnType>
Expand All @@ -2381,9 +2381,15 @@
<MixedAssignment>
<code>$typeHint</code>
</MixedAssignment>
<MoreSpecificReturnType>
<MixedReturnTypeCoercion>
<code><![CDATA[[
[
'typeHint' => $typeHint,
'isPrimitive' => in_array($typeHint, ['array', 'bool', 'int', 'float', 'null', 'object', 'string']),
],
]]]></code>
<code><![CDATA[list<array{typeHint: string, isPrimitive: bool}>]]></code>
</MoreSpecificReturnType>
</MixedReturnTypeCoercion>
<PossiblyNullArgument>
<code>$declaringClass</code>
<code>$typeHint</code>
Expand Down

0 comments on commit ca0ea89

Please sign in to comment.