-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpsalm.xml
74 lines (71 loc) · 3.05 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
<?xml version="1.0"?>
<psalm
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
name="Psalm for Security by CleanTalk"
autoloader="tests/bootstrap.php"
errorLevel="4"
throwExceptionOnError="0"
findUnusedCode="true"
ensureArrayStringOffsetsExist="true"
ensureArrayIntOffsetsExist="true"
allowNamedArgumentCalls="false"
hoistConstants="true"
phpVersion="5.6"
hideExternalErrors="true"
limitMethodComplexity="true"
>
<projectFiles>
<file name="security-malware-firewall.php" />
<directory name="lib" />
<ignoreFiles allowMissingFiles="true">
<directory name="backups/" />
<directory name="lib/CleantalkSP/Fpdf/" />
<directory name="node_modules/" />
<directory name="lib/CleantalkSP/Common/Scanner/HeuristicAnalyser/tests/" />
<directory name="lib/CleantalkSP/Common/Scanner/HeuristicAnalyser/Vendors/" />
<directory name="inc/admin-templates/field-templates/" />
</ignoreFiles>
<directory name="inc" />
</projectFiles>
<forbiddenFunctions>
<function name="check_ajax_referer" />
</forbiddenFunctions>
<issueHandlers>
<InvalidGlobal>
<errorLevel type="suppress">
<file name="security-malware-firewall.php"/>
</errorLevel>
</InvalidGlobal>
<UnusedClass>
<errorLevel type="suppress">
<file name="lib/CleantalkSP/SpbctWP/Escape.php"/>
</errorLevel>
</UnusedClass>
<PossiblyUnusedMethod>
<errorLevel type="suppress">
<file name="lib/CleantalkSP/SpbctWP/Scanner/ScannerQueue.php" />
<file name="lib/CleantalkSP/SpbctWP/Helpers/HTTP.php" />
<file name="lib/CleantalkSP/SpbctWP/G2FA/GoogleAuthenticator.php" />
<file name="lib/CleantalkSP/SpbctWP/Firewall/WAF.php" />
<file name="lib/CleantalkSP/SpbctWP/AdminBannersModule/AdminBanners/AdminBannerWrongKey.php" />
<file name="lib/CleantalkSP/SpbctWP/AdminBannersModule/AdminBanners/AdminBannerTrial.php" />
<file name="lib/CleantalkSP/SpbctWP/AdminBannersModule/AdminBanners/AdminBannerRenew.php" />
<file name="lib/CleantalkSP/SpbctWP/AdminBannersModule/AdminBanners/AdminBannerAbstract.php" />
<file name="lib/CleantalkSP/Fpdf/Fpdf.php" />
<file name="lib/CleantalkSP/Updater/UpdaterScripts.php" />
</errorLevel>
</PossiblyUnusedMethod>
<UndefinedFunction>
<errorLevel type="suppress">
<referencedFunction name="apbct_admin__admin_bar__add_structure" />
</errorLevel>
</UndefinedFunction>
</issueHandlers>
<plugins>
<pluginClass class="Glomberg\WpdbUnsafeMethods\Plugin">
<method>query</method>
<method>get_results</method>
</pluginClass>
</plugins>
</psalm>