-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpsalm.xml
More file actions
62 lines (52 loc) · 2.16 KB
/
Copy pathpsalm.xml
File metadata and controls
62 lines (52 loc) · 2.16 KB
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
<?xml version="1.0"?>
<psalm
errorLevel="4"
resolveFromConfigFile="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"
findUnusedBaselineEntry="false"
findUnusedCode="false"
strictBinaryOperands="false"
phpVersion="8.4"
autoloader="vendor/autoload.php"
>
<projectFiles>
<directory name="pb_inc"/>
<file name="pbook.php"/>
<file name="install_deu.php"/>
<ignoreFiles>
<directory name="vendor"/>
<directory name="pb_inc/smilies"/>
</ignoreFiles>
</projectFiles>
<extraFiles>
<file name="pb_inc/database.inc.php"/>
<file name="pb_inc/csrf.inc.php"/>
<file name="pb_inc/error-handler.inc.php"/>
<file name="pb_inc/validation.inc.php"/>
<file name="pb_inc/functions.inc.php"/>
</extraFiles>
<issueHandlers>
<!-- Legacy code patterns during migration -->
<PossiblyUndefinedVariable errorLevel="suppress"/>
<UndefinedGlobalVariable errorLevel="suppress"/>
<!-- Suppress unused suppression warnings -->
<UnusedIssueHandlerSuppression errorLevel="suppress"/>
<!-- Redundant conditions are acceptable for defensive coding -->
<RedundantCondition errorLevel="suppress"/>
<TypeDoesNotContainNull errorLevel="suppress"/>
<RedundantCast errorLevel="suppress"/>
<RedundantCastGivenDocblockType errorLevel="suppress"/>
<!-- Superglobal access is expected in this legacy app -->
<InvalidGlobal errorLevel="suppress"/>
<!-- Allow string concatenation with integers -->
<InvalidOperand errorLevel="suppress"/>
<!-- Allow array type covariance for legacy code -->
<InvalidArgument errorLevel="suppress"/>
<!-- Suppress undefined function errors - functions are loaded at runtime -->
<UndefinedFunction errorLevel="suppress"/>
<!-- Type inference issues with nullable coalescing -->
<TypeDoesNotContainType errorLevel="suppress"/>
</issueHandlers>
</psalm>