-
Notifications
You must be signed in to change notification settings - Fork 5
/
psalm.xml
71 lines (69 loc) · 2.92 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
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
name="Psalm for Cleantalk AntiSpam Protection"
autoloader="tests/bootstrap.php"
errorLevel="4"
throwExceptionOnError="0"
findUnusedCode="true"
ensureArrayStringOffsetsExist="true"
ensureArrayIntOffsetsExist="true"
allowNamedArgumentCalls="false"
hoistConstants="true"
phpVersion="5.6"
hideExternalErrors="true"
xsi:schemaLocation="https://getpsalm.org/schema/config config.xsd"
limitMethodComplexity="true"
>
<projectFiles>
<directory name="./"/>
<ignoreFiles allowMissingFiles="true">
<directory name="tests"/>
<directory name="vendor"/>
<directory name="node_modules/" />
<file name="lib/Cleantalk/Templates/Singleton.php"/>
<file name="lib/Cleantalk/ApbctWP/CleantalkListTable.php"/>
<file name="inc/cleantalk-public-validate-skip-functions.php"/>
</ignoreFiles>
</projectFiles>
<issueHandlers>
<MissingPropertyType errorLevel="suppress"/>
<UnusedClass>
<errorLevel type="suppress">
<referencedClass name="Cleantalk\Antispam\Cleantalk"/>
<referencedClass name="Cleantalk\ApbctWP\GetFieldsAny"/>
<referencedClass name="cleantalk_widget"/>
<directory name="lib/Cleantalk/Antispam/Integrations"/>
<referencedClass name="Cleantalk\Common\Escape"/>
<referencedClass name="Cleantalk\Common\Sanitize"/>
<referencedClass name="Cleantalk\Common\Validate"/>
<referencedClass name="Cleantalk\ApbctWP\Escape"/>
</errorLevel>
</UnusedClass>
<InvalidGlobal>
<errorLevel type="suppress">
<file name="cleantalk.php"/>
</errorLevel>
</InvalidGlobal>
<UnusedVariable>
<errorLevel type="suppress">
<file name="inc/cleantalk-common.php"/>
<directory name="templates"/>
</errorLevel>
</UnusedVariable>
<PossiblyUnusedMethod>
<errorLevel type="suppress">
<file name="lib/Cleantalk/ApbctWP/State.php"/>
<file name="lib/Cleantalk/ApbctWP/RemoteCalls.php"/>
<file name="lib/Cleantalk/Common/Sanitize.php"/>
<file name="lib/Cleantalk/Common/Validate.php"/>
<file name="lib/Cleantalk/Common/Escape.php"/>
<file name="lib/Cleantalk/ApbctWP/Sanitize.php"/>
<file name="lib/Cleantalk/ApbctWP/Validate.php"/>
<file name="lib/Cleantalk/ApbctWP/Escape.php"/>
<file name="lib/Cleantalk/Common/HTTP/Response.php"/>
</errorLevel>
</PossiblyUnusedMethod>
</issueHandlers>
</psalm>