-
Notifications
You must be signed in to change notification settings - Fork 34
/
psalm.xml
80 lines (80 loc) · 3.7 KB
/
psalm.xml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?xml version="1.0"?>
<psalm
errorLevel="3"
autoloader="bootstrap.php"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
errorBaseline="psalm/psalm-baseline.xml"
findUnusedBaselineEntry="true"
findUnusedCode="false"
findUnusedVariablesAndParams="true"
useDocblockTypes="true"
useDocblockPropertyTypes="true"
>
<projectFiles>
<directory name="config"/>
<file name="bootstrap.php"/>
<directory name="module/Activity/src"/>
<directory name="module/Application/src"/>
<directory name="module/Company/src"/>
<directory name="module/Decision/src"/>
<directory name="module/Education/src"/>
<directory name="module/Frontpage/src"/>
<directory name="module/Photo/src"/>
<directory name="module/User/src"/>
<directory name="module/Activity/test"/>
<directory name="module/Application/test"/>
<directory name="module/Company/test"/>
<directory name="module/Decision/test"/>
<directory name="module/Education/test"/>
<directory name="module/Frontpage/test"/>
<directory name="module/Photo/test"/>
<directory name="module/User/test"/>
<file name="public/index.php"/>
<ignoreFiles>
<directory name="vendor"/>
</ignoreFiles>
</projectFiles>
<issueHandlers>
<!--Please note that the most problematic supressed issues are at the bottom of the list-->
<RedundantCondition errorLevel="suppress" />
<RedundantConditionGivenDocblockType errorLevel="suppress" />
<LessSpecificImplementedReturnType errorLevel="suppress" />
<MoreSpecificImplementedParamType errorLevel="suppress" />
<LessSpecificReturnStatement errorLevel="suppress" />
<MissingClosureParamType errorLevel="suppress" />
<MissingClosureReturnType errorLevel="suppress" />
<MissingConstructor errorLevel="suppress" />
<PropertyNotSetInConstructor errorLevel="suppress" />
<NonInvariantDocblockPropertyType errorLevel="suppress" />
<DocblockTypeContradiction errorLevel="suppress" />
<DeprecatedClass errorLevel="suppress" />
<UndefinedThisPropertyAssignment errorLevel="suppress" />
<ArgumentTypeCoercion errorLevel="suppress" />
<MixedClone errorLevel="suppress" />
<InternalMethod errorLevel="suppress" />
<PossibleRawObjectIteration errorLevel="suppress" />
<PossiblyUndefinedMethod errorLevel="suppress" />
<PossiblyNullArrayOffset errorLevel="suppress" />
<PossiblyNullOperand errorLevel="suppress" />
<PossiblyNullReference errorLevel="suppress" />
<PossiblyNullArgument errorLevel="suppress" />
<PossiblyNullIterator errorLevel="suppress" />
<PossiblyFalseArgument errorLevel="suppress" />
<PossiblyFalseOperand errorLevel="suppress" />
<PossiblyInvalidPropertyAssignmentValue errorLevel="suppress" />
<PossiblyInvalidArgument errorLevel="suppress" />
<PossiblyInvalidIterator errorLevel="suppress" />
<PossiblyInvalidMethodCall errorLevel="suppress" />
<PossiblyInvalidArrayAccess errorLevel="suppress" />
<ImplementedReturnTypeMismatch errorLevel="info" />
<UndefinedInterfaceMethod errorLevel="info" />
<NullableReturnStatement errorLevel="info" />
</issueHandlers>
<plugins>
<pluginClass class="Lctrs\PsalmPsrContainerPlugin\Plugin"/>
<pluginClass class="Weirdan\DoctrinePsalmPlugin\Plugin"/>
<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
</plugins>
</psalm>