-
Notifications
You must be signed in to change notification settings - Fork 7
/
psalm.xml
71 lines (71 loc) · 3.25 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
<?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"
useDocblockTypes="true"
useDocblockPropertyTypes="true"
>
<projectFiles>
<directory name="config"/>
<file name="bootstrap.php"/>
<directory name="module/Application/src"/>
<directory name="module/Checker/src"/>
<directory name="module/Database/src"/>
<directory name="module/Report/src"/>
<directory name="module/User/src"/>
<directory name="module/Application/test"/>
<directory name="module/Checker/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" />
<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" />
<MissingTemplateParam errorLevel="info" />
<Trace errorLevel="error"/>
</issueHandlers>
<plugins>
<pluginClass class="Lctrs\PsalmPsrContainerPlugin\Plugin"/>
<pluginClass class="Weirdan\DoctrinePsalmPlugin\Plugin"/>
<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
</plugins>
</psalm>