forked from johngodley/redirection
-
Notifications
You must be signed in to change notification settings - Fork 0
/
psalm.xml
71 lines (69 loc) · 2.52 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
phpVersion="5.6"
findUnusedVariablesAndParams="true"
strictBinaryOperands="true"
runTaintAnalysis="true"
findUnusedCode="true"
findUnusedPsalmSuppress="true"
hoistConstants="true"
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"
>
<projectFiles>
<directory name="."/>
<directory name="api"/>
<directory name="actions"/>
<directory name="models"/>
<directory name="modules"/>
<directory name="matches"/>
<directory name="fileio"/>
<directory name="database"/>
<file name="redirection.php" />
<file name="redirection-settings.php" />
<file name="redirection-capabilities.php" />
<file name="redirection-front.php" />
<file name="redirection-admin.php" />
<file name="redirection-version.php" />
<ignoreFiles>
<directory name="vendor"/>
</ignoreFiles>
</projectFiles>
<globals>
<var name="wpdb" type="object"/>
<var name="RED_MAX_PER_PAGE" type="integer" />
<var name="REDIRECTION_VERSION" type="string" />
</globals>
<issueHandlers>
<LessSpecificReturnType errorLevel="info"/>
<DeprecatedMethod errorLevel="info"/>
<DeprecatedProperty errorLevel="info"/>
<DeprecatedClass errorLevel="info"/>
<DeprecatedConstant errorLevel="info"/>
<DeprecatedFunction errorLevel="info"/>
<DeprecatedInterface errorLevel="info"/>
<DeprecatedTrait errorLevel="info"/>
<InternalMethod errorLevel="info"/>
<InternalProperty errorLevel="info"/>
<InternalClass errorLevel="info"/>
<MissingClosureReturnType errorLevel="info"/>
<MissingReturnType errorLevel="info"/>
<MissingPropertyType errorLevel="info"/>
<InvalidDocblock errorLevel="info"/>
<PropertyNotSetInConstructor errorLevel="info"/>
<MissingConstructor errorLevel="info"/>
<MissingClosureParamType errorLevel="info"/>
<RedundantCondition errorLevel="info"/>
<DocblockTypeContradiction errorLevel="info"/>
<RedundantConditionGivenDocblockType errorLevel="info"/>
<UnresolvableInclude errorLevel="info"/>
<RawObjectIteration errorLevel="info"/>
<InvalidStringClass errorLevel="info"/>
<TooManyArguments>
<errorLevel type="suppress">
<referencedFunction name="apply_filters" />
</errorLevel>
</TooManyArguments>
</issueHandlers>
<plugins><pluginClass class="PsalmWordPress\Plugin"/></plugins></psalm>