-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
psalm.xml
55 lines (55 loc) · 2.44 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
<?xml version="1.0"?>
<psalm errorLevel="5" reportMixedIssues="false" phpVersion="7.4" runTaintAnalysis="false">
<projectFiles>
<directory name="redaxo/src/addons/statistics" />
<ignoreFiles>
<directory name="redaxo/src/addons/statistics/assets" />
<directory name="redaxo/src/addons/statistics/lang" />
<directory name="redaxo/src/addons/statistics/preview" />
<directory name="redaxo/src/addons/statistics/vendors" />
</ignoreFiles>
</projectFiles>
<extraFiles>
<directory name="redaxo/src/addons/statistics/vendors" />
<directory name="redaxo/src/addons/dashboard" />
<directory name="redaxo/src/addons/yrewrite" />
<directory name="redaxo/src/core" />
<directory name="redaxo/src/addons/backup" />
<directory name="redaxo/src/addons/be_style" />
<directory name="redaxo/src/addons/cronjob" />
<directory name="redaxo/src/addons/debug" />
<directory name="redaxo/src/addons/install" />
<directory name="redaxo/src/addons/media_manager" />
<directory name="redaxo/src/addons/mediapool" />
<directory name="redaxo/src/addons/metainfo" />
<directory name="redaxo/src/addons/phpmailer" />
<directory name="redaxo/src/addons/project" />
<directory name="redaxo/src/addons/structure" />
<directory name="redaxo/src/addons/users" />
</extraFiles>
<forbiddenFunctions>
<function name="basename" />
<function name="dd" />
<function name="dump" />
</forbiddenFunctions>
<issueHandlers>
<InvalidScope errorLevel="suppress"></InvalidScope>
<UndefinedFunction>
<errorLevel type="suppress">
<referencedFunction name="rex_post" />
<referencedFunction name="rex_request" />
<referencedFunction name="rex_get" />
<referencedFunction name="rex_server" />
<referencedFunction name="str_starts_with" />
<referencedFunction name="str_ends_with" />
<referencedFunction name="str_contains" />
<referencedFunction name="rex_request_method" />
</errorLevel>
</UndefinedFunction>
<!-- <UndefinedClass>
<errorLevel type="suppress">
<referencedClass name="rex_dashboard" />
</errorLevel>
</UndefinedClass> -->
</issueHandlers>
</psalm>