Skip to content

Commit 7722b51

Browse files
committed
Bump Psalm level to 3
1 parent 8c6ea53 commit 7722b51

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

psalm.xml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<psalm
33
totallyTyped="false"
4-
errorLevel="4"
4+
errorLevel="3"
55
resolveFromConfigFile="true"
66
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
77
xmlns="https://getpsalm.org/schema/config"
@@ -76,6 +76,12 @@
7676
<file name="lib/Doctrine/DBAL/Driver/OCI8/OCI8Connection.php"/>
7777
</errorLevel>
7878
</ImplementedReturnTypeMismatch>
79+
<InvalidPropertyAssignmentValue>
80+
<errorLevel type="suppress">
81+
<!-- Fixing this issue requires an API change -->
82+
<file name="lib/Doctrine/DBAL/Driver/PDOException.php"/>
83+
</errorLevel>
84+
</InvalidPropertyAssignmentValue>
7985
<MethodSignatureMismatch>
8086
<errorLevel type="suppress">
8187
<!--
@@ -93,6 +99,20 @@
9399
<file name="lib/Doctrine/DBAL/Driver/AbstractSQLiteDriver.php"/>
94100
</errorLevel>
95101
</NullableReturnStatement>
102+
<PossiblyInvalidOperand>
103+
<errorLevel type="suppress">
104+
<!--
105+
This code relies on certain elements of a mixed-type array to be of a certain type.
106+
-->
107+
<file name="lib/Doctrine/DBAL/SQLParserUtils.php"/>
108+
</errorLevel>
109+
</PossiblyInvalidOperand>
110+
<PossiblyNullArgument>
111+
<errorLevel type="suppress">
112+
<!-- See https://github.com/doctrine/dbal/pull/3488 -->
113+
<file name="lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php"/>
114+
</errorLevel>
115+
</PossiblyNullArgument>
96116
<TooFewArguments>
97117
<errorLevel type="suppress">
98118
<!--

0 commit comments

Comments
 (0)