blob: 93a850ec8f2251e33077751041f13faf3b12fb83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<?xml version="1.0"?>
<psalm
name="Example Psalm config with recommended defaults"
stopOnFirstError="false"
useDocblockTypes="true"
totallyTyped="false"
>
<projectFiles>
<directory name="src" />
</projectFiles>
<issueHandlers>
<LessSpecificReturnType errorLevel="info" />
<!-- level 3 issues - slightly lazy code writing, but provably low false-negatives -->
<DeprecatedClass errorLevel="error" />
<DeprecatedMethod errorLevel="error" />
<DeprecatedProperty errorLevel="error" />
<MissingClosureReturnType errorLevel="suppress" />
<MissingReturnType errorLevel="suppress" />
<MissingPropertyType errorLevel="suppress" />
<InvalidDocblock errorLevel="info" />
<MisplacedRequiredParam errorLevel="info" />
<PropertyNotSetInConstructor errorLevel="suppress" />
<MissingConstructor errorLevel="info" />
<UntypedParam errorLevel="suppress" />
<TypeCoercion errorLevel="suppress" />
</issueHandlers>
</psalm>
|