-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpsalm.xml
More file actions
53 lines (53 loc) · 1.68 KB
/
psalm.xml
File metadata and controls
53 lines (53 loc) · 1.68 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
<?xml version="1.0"?>
<psalm
errorLevel="1"
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"
findUnusedPsalmSuppress="true"
limitMethodComplexity="true"
>
<projectFiles>
<directory name="src"/>
<ignoreFiles>
<directory name=".github"/>
<directory name="vendor"/>
</ignoreFiles>
<ignoreFiles allowMissingFiles="true">
<directory name="build"/>
<directory name="docs"/>
</ignoreFiles>
</projectFiles>
<extraFiles>
<directory name="tests"/>
</extraFiles>
<issueHandlers>
<!--
In moving 'tests' from projectFiles to extraFiles, some methods/classes are reported
as unused (when they are not). Suppress for now, until tests can be refactored.
-->
<UnusedProperty>
<errorLevel type="suppress">
<directory name="src" />
</errorLevel>
</UnusedProperty>
<PossiblyUnusedMethod>
<errorLevel type="suppress">
<directory name="src" />
</errorLevel>
</PossiblyUnusedMethod>
<UnusedClass>
<errorLevel type="suppress">
<directory name="src" />
</errorLevel>
</UnusedClass>
<ClassMustBeFinal>
<errorLevel type="suppress">
<directory name="src" />
</errorLevel>
</ClassMustBeFinal>
</issueHandlers>
<plugins>
<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
</plugins>
</psalm>