Skip to content

Commit

Permalink
update psalm baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire committed Jun 14, 2022
1 parent d52f9ee commit 5ecf9e9
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,9 @@
<PropertyTypeCoercion occurrences="1">
<code>new $metadataFactoryClassName()</code>
</PropertyTypeCoercion>
<RedundantCastGivenDocblockType occurrences="1">
<RedundantCast occurrences="1">
<code>(string) $hydrationMode</code>
</RedundantCastGivenDocblockType>
</RedundantCast>
<UnsafeInstantiation occurrences="1">
<code>new $class($this)</code>
</UnsafeInstantiation>
Expand Down Expand Up @@ -388,7 +388,6 @@
<code>getConfiguration</code>
<code>getConfiguration</code>
<code>getConfiguration</code>
<code>getConfiguration</code>
<code>getConnection</code>
<code>hasListeners</code>
<code>hasListeners</code>
Expand Down Expand Up @@ -425,6 +424,7 @@
<code>ReflectionProperty</code>
<code>ReflectionProperty</code>
<code>getReflectionClass</code>
<code>string</code>
</InvalidNullableReturnType>
<InvalidPropertyAssignmentValue occurrences="2">
<code>$definition</code>
Expand All @@ -449,6 +449,7 @@
<code>class-string|null</code>
</MoreSpecificReturnType>
<NullableReturnStatement occurrences="4">
<code>$this-&gt;associationMappings[$assocName]['mappedBy']</code>
<code>$this-&gt;reflClass</code>
<code>$this-&gt;reflFields[$name]</code>
<code>$this-&gt;reflFields[$this-&gt;identifier[0]]</code>
Expand Down Expand Up @@ -480,11 +481,12 @@
<code>$mapping['originalClass']</code>
<code>$mapping['originalField']</code>
<code>$mapping['targetEntity']</code>
<code>$this-&gt;associationMappings[$assocName]['isOwningSide']</code>
<code>$this-&gt;associationMappings[$assocName]['joinColumns']</code>
<code>$this-&gt;associationMappings[$assocName]['mappedBy']</code>
<code>$this-&gt;associationMappings[$fieldName]['joinColumns']</code>
<code>$this-&gt;associationMappings[$fieldName]['joinColumns']</code>
<code>$this-&gt;associationMappings[$idProperty]['joinColumns']</code>
<code>$this-&gt;associationMappings[$idProperty]['joinColumns']</code>
</PossiblyUndefinedArrayOffset>
<PropertyNotSetInConstructor occurrences="4">
<code>$idGenerator</code>
Expand Down Expand Up @@ -1835,8 +1837,6 @@
<code>$field</code>
<code>$field</code>
<code>$functionName</code>
<code>$functionName</code>
<code>$functionName</code>
<code>$this-&gt;lexer-&gt;getLiteral($token)</code>
<code>$this-&gt;lexer-&gt;getLiteral($token)</code>
<code>$this-&gt;lexer-&gt;getLiteral($token)</code>
Expand Down Expand Up @@ -2004,8 +2004,6 @@
<PossiblyUndefinedArrayOffset occurrences="4">
<code>$associationMapping['isOwningSide']</code>
<code>$associationMapping['isOwningSide']</code>
<code>$associationMapping['isOwningSide']</code>
<code>$associationMapping['joinColumns']</code>
<code>$associationMapping['joinColumns']</code>
<code>$associationMapping['joinColumns']</code>
</PossiblyUndefinedArrayOffset>
Expand Down Expand Up @@ -2390,8 +2388,6 @@
<code>$this-&gt;identityMap[$rootClassName]</code>
</PossiblyInvalidArrayOffset>
<PossiblyNullArgument occurrences="9">
<code>$assoc</code>
<code>$assoc</code>
<code>$assoc</code>
<code>$assoc</code>
<code>$assoc['targetEntity']</code>
Expand Down

0 comments on commit 5ecf9e9

Please sign in to comment.