Skip to content

Commit

Permalink
Ignore error about lastInsertId()'s return type
Browse files Browse the repository at this point in the history
It cannot be fixed without a BC break
  • Loading branch information
greg0ire committed Aug 23, 2020
1 parent edd8df9 commit 6f3728d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,17 @@
<file name="lib/Doctrine/DBAL/Tools/Dumper.php"/>
</errorLevel>
</UndefinedClass>
<InvalidReturnType>
<errorLevel type="suppress">
<!-- lastInsertId has a return type that does not match the one defined in the interface-->
<file name="lib/Doctrine/DBAL/Driver/Mysqli/MysqliConnection.php"/>
</errorLevel>
</InvalidReturnType>
<InvalidReturnStatement>
<errorLevel type="suppress">
<!-- lastInsertId has a return type that does not match the one defined in the interface-->
<file name="lib/Doctrine/DBAL/Driver/Mysqli/MysqliConnection.php"/>
</errorLevel>
</InvalidReturnStatement>
</issueHandlers>
</psalm>

0 comments on commit 6f3728d

Please sign in to comment.