Skip to content

Commit

Permalink
Bump Psalm level to 3
Browse files Browse the repository at this point in the history
  • Loading branch information
morozov committed Oct 16, 2020
1 parent 8c6ea53 commit 7722b51
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion psalm.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<psalm
totallyTyped="false"
errorLevel="4"
errorLevel="3"
resolveFromConfigFile="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
Expand Down Expand Up @@ -76,6 +76,12 @@
<file name="lib/Doctrine/DBAL/Driver/OCI8/OCI8Connection.php"/>
</errorLevel>
</ImplementedReturnTypeMismatch>
<InvalidPropertyAssignmentValue>
<errorLevel type="suppress">
<!-- Fixing this issue requires an API change -->
<file name="lib/Doctrine/DBAL/Driver/PDOException.php"/>
</errorLevel>
</InvalidPropertyAssignmentValue>
<MethodSignatureMismatch>
<errorLevel type="suppress">
<!--
Expand All @@ -93,6 +99,20 @@
<file name="lib/Doctrine/DBAL/Driver/AbstractSQLiteDriver.php"/>
</errorLevel>
</NullableReturnStatement>
<PossiblyInvalidOperand>
<errorLevel type="suppress">
<!--
This code relies on certain elements of a mixed-type array to be of a certain type.
-->
<file name="lib/Doctrine/DBAL/SQLParserUtils.php"/>
</errorLevel>
</PossiblyInvalidOperand>
<PossiblyNullArgument>
<errorLevel type="suppress">
<!-- See https://github.com/doctrine/dbal/pull/3488 -->
<file name="lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php"/>
</errorLevel>
</PossiblyNullArgument>
<TooFewArguments>
<errorLevel type="suppress">
<!--
Expand Down

0 comments on commit 7722b51

Please sign in to comment.