Skip to content

Commit

Permalink
Remove Doctrine\Persistence\ObjectManager::refresh from Psalm baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed Nov 1, 2022
1 parent 25ce9b9 commit 474f76f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -269,10 +269,9 @@
<MoreSpecificImplementedParamType occurrences="1">
<code>$className</code>
</MoreSpecificImplementedParamType>
<TooManyArguments occurrences="3">
<TooManyArguments occurrences="2">
<code>find</code>
<code>flush</code>
<code>refresh</code>
</TooManyArguments>
</file>
<file src="lib/Doctrine/ORM/EntityManager.php">
Expand Down
3 changes: 3 additions & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@

<!-- Persistence 2 compatibility -->
<referencedFunction name="Doctrine\Persistence\ObjectManager::clear"/>

<!-- Remove on 3.0.x -->
<referencedFunction name="Doctrine\Persistence\ObjectManager::refresh"/>
</errorLevel>
</TooManyArguments>
<TypeDoesNotContainType>
Expand Down

0 comments on commit 474f76f

Please sign in to comment.