|
2 | 2 | <psalm |
3 | 3 | totallyTyped="true" |
4 | 4 | useDocblockTypes="true" |
| 5 | + useDocblockPropertyTypes="true" |
| 6 | + allowPhpStormGenerics="true" |
| 7 | + requireVoidReturnType="true" |
| 8 | + ignoreInternalFunctionFalseReturn="false" |
| 9 | + ignoreInternalFunctionNullReturn="false" |
5 | 10 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
6 | 11 | xmlns="https://getpsalm.org/schema/config" |
7 | 12 | xsi:schemaLocation="https://getpsalm.org/schema/config" |
|
14 | 19 | </projectFiles> |
15 | 20 |
|
16 | 21 | <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 | | - |
30 | | - <PropertyNotSetInConstructor errorLevel="suppress"/> |
31 | 22 | <PropertyNotSetInConstructor errorLevel="suppress"/> |
32 | | - <MissingConstructor errorLevel="info"/> |
33 | | - <MissingClosureParamType errorLevel="info"/> |
34 | | - <MissingParamType errorLevel="info"/> |
35 | | - |
36 | | - <DocblockTypeContradiction errorLevel="info"/> |
37 | | - <RedundantConditionGivenDocblockType errorLevel="info"/> |
38 | | - |
39 | | - <UnresolvableInclude errorLevel="info"/> |
40 | | - |
41 | | - <RawObjectIteration errorLevel="info"/> |
42 | 23 | </issueHandlers> |
43 | 24 | </psalm> |
0 commit comments