Skip to content

Commit

Permalink
fix psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Oct 20, 2024
1 parent 9041c2d commit e609cb7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions psalm.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,12 @@
<file name="tests/Types/DateIntervalTest.php"/>
</errorLevel>
</InaccessibleProperty>
<InvalidCast>
<errorLevel type="suppress">
<!-- See https://github.com/vimeo/psalm/issues/10995 -->
<file name="src/Types/BigIntType.php"/>
</errorLevel>
</InvalidCast>
<InvalidArgument>
<errorLevel type="suppress">
<!-- We're testing with invalid input here. -->
Expand Down Expand Up @@ -185,6 +191,8 @@
</MoreSpecificReturnType>
<NoValue>
<errorLevel type="suppress">
<!-- See https://github.com/vimeo/psalm/issues/10995 -->
<file name="src/Types/BigIntType.php"/>
<!--
This error looks bogus.
-->
Expand Down Expand Up @@ -291,6 +299,8 @@
<!-- Ignore isset() checks in destructors. -->
<file name="src/Driver/PgSQL/Connection.php"/>
<file name="src/Driver/PgSQL/Statement.php"/>
<!-- See https://github.com/vimeo/psalm/issues/10995 -->
<file name="src/Types/BigIntType.php"/>
</errorLevel>
</TypeDoesNotContainType>
<UndefinedClass>
Expand Down

0 comments on commit e609cb7

Please sign in to comment.