Skip to content

Commit d31aabb

Browse files
authored
Psalm 5.24.0 (#11467)
1 parent d668844 commit d31aabb

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"symfony/cache": "^4.4 || ^5.4 || ^6.4 || ^7.0",
5050
"symfony/var-exporter": "^4.4 || ^5.4 || ^6.2 || ^7.0",
5151
"symfony/yaml": "^3.4 || ^4.0 || ^5.0 || ^6.0 || ^7.0",
52-
"vimeo/psalm": "4.30.0 || 5.22.2"
52+
"vimeo/psalm": "4.30.0 || 5.24.0"
5353
},
5454
"conflict": {
5555
"doctrine/annotations": "<1.13 || >= 3.0"

psalm-baseline.xml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<files psalm-version="5.22.2@d768d914152dbbf3486c36398802f74e80cfde48">
2+
<files psalm-version="5.24.0@462c80e31c34e58cc4f750c656be3927e80e550e">
33
<file src="src/AbstractQuery.php">
44
<DeprecatedClass>
55
<code><![CDATA[IterableResult]]></code>
@@ -380,6 +380,9 @@
380380
<code><![CDATA[serialize]]></code>
381381
<code><![CDATA[unserialize]]></code>
382382
</MethodSignatureMustProvideReturnType>
383+
<ParamNameMismatch>
384+
<code><![CDATA[$serialized]]></code>
385+
</ParamNameMismatch>
383386
</file>
384387
<file src="src/Id/TableGenerator.php">
385388
<PossiblyFalseOperand>
@@ -2341,9 +2344,6 @@
23412344
<InvalidReturnType>
23422345
<code><![CDATA[ObjectRepository]]></code>
23432346
</InvalidReturnType>
2344-
<TypeDoesNotContainType>
2345-
<code><![CDATA[$repository instanceof EntityRepository]]></code>
2346-
</TypeDoesNotContainType>
23472347
<UnsafeInstantiation>
23482348
<code><![CDATA[new $repositoryClassName($entityManager, $metadata)]]></code>
23492349
</UnsafeInstantiation>
@@ -2514,6 +2514,11 @@
25142514
<PossiblyNullArgument>
25152515
<code><![CDATA[$variableType]]></code>
25162516
</PossiblyNullArgument>
2517+
<PossiblyUndefinedArrayOffset>
2518+
<code><![CDATA[$fieldMapping['declaredField']]]></code>
2519+
<code><![CDATA[$fieldMapping['declaredField']]]></code>
2520+
<code><![CDATA[$fieldMapping['declaredField']]]></code>
2521+
</PossiblyUndefinedArrayOffset>
25172522
<PropertyNotSetInConstructor>
25182523
<code><![CDATA[$classToExtend]]></code>
25192524
</PropertyNotSetInConstructor>

0 commit comments

Comments
 (0)