Skip to content

Commit

Permalink
Changelog v1.6.2 (#1278)
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 7, 2023
2 parents 24f373d + ca75707 commit 13a7fa2
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 12 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,13 @@
# Change Log

## 1.6.2 (2023-06-07)

* [#1276: Add `IsEqual` Argument Matcher](https://github.com/mockery/mockery/pull/1276)
* [#1275: Add `IsSame` Argument Matcher](https://github.com/mockery/mockery/pull/1275)
* [#1274: Update composer branch alias](https://github.com/mockery/mockery/pull/1274)
* [#1271: Support PHP 8.2 `true` Literal Type](https://github.com/mockery/mockery/pull/1271)
* [#1270: Support PHP 8.0 `false` Literal Type](https://github.com/mockery/mockery/pull/1270)

## 1.6.1 (2023-06-05)

* [#1267 Drops support for PHP <7.4](https://github.com/mockery/mockery/pull/1267)
Expand Down
26 changes: 14 additions & 12 deletions psalm-baseline.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.12.0@f90118cdeacd0088e7215e64c0c99ceca819e176">
<files psalm-version="5.9.0@8b9ad1eb9e8b7d3101f949291da2b9f7767cd163">
<file src="library/Mockery.php">
<ArgumentTypeCoercion>
<code>$expectation</code>
Expand Down Expand Up @@ -56,6 +56,7 @@
<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 @@ -1093,6 +1094,7 @@
<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 @@ -1544,6 +1546,7 @@
<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 @@ -1631,9 +1634,6 @@
<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 @@ -2377,6 +2377,14 @@
<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 @@ -2389,15 +2397,9 @@
<MixedAssignment>
<code>$typeHint</code>
</MixedAssignment>
<MixedReturnTypeCoercion>
<code><![CDATA[[
[
'typeHint' => $typeHint,
'isPrimitive' => in_array($typeHint, ['array', 'bool', 'int', 'float', 'null', 'object', 'string']),
],
]]]></code>
<MoreSpecificReturnType>
<code><![CDATA[list<array{typeHint: string, isPrimitive: bool}>]]></code>
</MixedReturnTypeCoercion>
</MoreSpecificReturnType>
<PossiblyNullArgument>
<code>$declaringClass</code>
<code>$typeHint</code>
Expand Down

0 comments on commit 13a7fa2

Please sign in to comment.