Skip to content

Commit 7f9f3a9

Browse files
committed
update psalm config
1 parent bdb12d0 commit 7f9f3a9

File tree

1 file changed

+5
-23
lines changed

1 file changed

+5
-23
lines changed

psalm.xml

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
<psalm
33
totallyTyped="true"
44
useDocblockTypes="true"
5+
useDocblockPropertyTypes="true"
6+
allowPhpStormGenerics="true"
7+
requireVoidReturnType="true"
8+
ignoreInternalFunctionFalseReturn="false"
9+
ignoreInternalFunctionNullReturn="false"
510
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
611
xmlns="https://getpsalm.org/schema/config"
712
xsi:schemaLocation="https://getpsalm.org/schema/config"
@@ -14,29 +19,6 @@
1419
</projectFiles>
1520

1621
<issueHandlers>
17-
<LessSpecificReturnType errorLevel="info"/>
18-
19-
<!-- level 3 issues - slightly lazy code writing, but provably low false-negatives -->
20-
<DeprecatedMethod errorLevel="info"/>
21-
<DeprecatedProperty errorLevel="info"/>
22-
<DeprecatedClass errorLevel="info"/>
23-
24-
<MissingClosureReturnType errorLevel="info"/>
25-
<MissingReturnType errorLevel="info"/>
26-
<MissingPropertyType errorLevel="info"/>
27-
<InvalidDocblock errorLevel="info"/>
28-
<MisplacedRequiredParam errorLevel="info"/>
29-
3022
<PropertyNotSetInConstructor errorLevel="suppress"/>
31-
<MissingConstructor errorLevel="info"/>
32-
<MissingClosureParamType errorLevel="info"/>
33-
<MissingParamType errorLevel="info"/>
34-
35-
<DocblockTypeContradiction errorLevel="info"/>
36-
<RedundantConditionGivenDocblockType errorLevel="info"/>
37-
38-
<UnresolvableInclude errorLevel="info"/>
39-
40-
<RawObjectIteration errorLevel="info"/>
4123
</issueHandlers>
4224
</psalm>

0 commit comments

Comments
 (0)