Skip to content

Commit

Permalink
Psalm 5.24.0 (#11467)
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus authored May 21, 2024
1 parent d668844 commit d31aabb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"symfony/cache": "^4.4 || ^5.4 || ^6.4 || ^7.0",
"symfony/var-exporter": "^4.4 || ^5.4 || ^6.2 || ^7.0",
"symfony/yaml": "^3.4 || ^4.0 || ^5.0 || ^6.0 || ^7.0",
"vimeo/psalm": "4.30.0 || 5.22.2"
"vimeo/psalm": "4.30.0 || 5.24.0"
},
"conflict": {
"doctrine/annotations": "<1.13 || >= 3.0"
Expand Down
13 changes: 9 additions & 4 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.22.2@d768d914152dbbf3486c36398802f74e80cfde48">
<files psalm-version="5.24.0@462c80e31c34e58cc4f750c656be3927e80e550e">
<file src="src/AbstractQuery.php">
<DeprecatedClass>
<code><![CDATA[IterableResult]]></code>
Expand Down Expand Up @@ -380,6 +380,9 @@
<code><![CDATA[serialize]]></code>
<code><![CDATA[unserialize]]></code>
</MethodSignatureMustProvideReturnType>
<ParamNameMismatch>
<code><![CDATA[$serialized]]></code>
</ParamNameMismatch>
</file>
<file src="src/Id/TableGenerator.php">
<PossiblyFalseOperand>
Expand Down Expand Up @@ -2341,9 +2344,6 @@
<InvalidReturnType>
<code><![CDATA[ObjectRepository]]></code>
</InvalidReturnType>
<TypeDoesNotContainType>
<code><![CDATA[$repository instanceof EntityRepository]]></code>
</TypeDoesNotContainType>
<UnsafeInstantiation>
<code><![CDATA[new $repositoryClassName($entityManager, $metadata)]]></code>
</UnsafeInstantiation>
Expand Down Expand Up @@ -2514,6 +2514,11 @@
<PossiblyNullArgument>
<code><![CDATA[$variableType]]></code>
</PossiblyNullArgument>
<PossiblyUndefinedArrayOffset>
<code><![CDATA[$fieldMapping['declaredField']]]></code>
<code><![CDATA[$fieldMapping['declaredField']]]></code>
<code><![CDATA[$fieldMapping['declaredField']]]></code>
</PossiblyUndefinedArrayOffset>
<PropertyNotSetInConstructor>
<code><![CDATA[$classToExtend]]></code>
</PropertyNotSetInConstructor>
Expand Down

0 comments on commit d31aabb

Please sign in to comment.