-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpsalm.xml.dist
More file actions
69 lines (62 loc) · 2.56 KB
/
psalm.xml.dist
File metadata and controls
69 lines (62 loc) · 2.56 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
63
64
65
66
67
68
69
<?xml version="1.0"?>
<psalm
errorLevel="6"
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"
autoloader="psalm_autoload.php"
cacheDirectory="build/psalm/"
findUnusedBaselineEntry="true"
findUnusedCode="false"
>
<projectFiles>
<directory name="src/" />
<ignoreFiles>
<directory name="vendor" />
<directory name="src/Views" />
<directory name="src/Language" />
</ignoreFiles>
</projectFiles>
<issueHandlers>
<!--
CodeIgniter exposes its helpers and runtime constants through global
functions / constants Psalm cannot resolve from the package scope.
Rather than ignoring them by name (Psalm has no per-symbol filter
for these), suppress the whole issue type — analysis still flags
*real* problems (type errors, unused code, etc.).
-->
<UndefinedFunction errorLevel="suppress" />
<UndefinedConstant errorLevel="suppress" />
<UndefinedClass errorLevel="suppress" />
<!-- The legacy IpUtils wrapper deliberately keeps a static facade for BC -->
<DeprecatedClass errorLevel="suppress" />
<DeprecatedProperty errorLevel="suppress" />
<DeprecatedMethod errorLevel="suppress" />
<!-- #[\Override] is PHP 8.3+; the package targets PHP 8.2 -->
<MissingOverrideAttribute errorLevel="suppress" />
<!-- Pre-existing legacy code outside the Sprint 1-3 refactor -->
<MissingPropertyType>
<errorLevel type="suppress">
<file name="src/Commands/Publish.php" />
<file name="src/Exceptions/ServiceUnavailableException.php" />
</errorLevel>
</MissingPropertyType>
<MissingReturnType>
<errorLevel type="suppress">
<file name="src/Commands/Publish.php" />
<file name="src/Exceptions/ServiceUnavailableException.php" />
</errorLevel>
</MissingReturnType>
<MissingParamType>
<errorLevel type="suppress">
<file name="src/Commands/Publish.php" />
</errorLevel>
</MissingParamType>
<UnsafeInstantiation>
<errorLevel type="suppress">
<file name="src/Exceptions/ServiceUnavailableException.php" />
</errorLevel>
</UnsafeInstantiation>
</issueHandlers>
</psalm>