-
-
Notifications
You must be signed in to change notification settings - Fork 62
Expand file tree
/
Copy pathpsalm.xml.dist
More file actions
62 lines (61 loc) · 2.29 KB
/
psalm.xml.dist
File metadata and controls
62 lines (61 loc) · 2.29 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="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"
errorBaseline="psalm-baseline.xml"
findUnusedPsalmSuppress="true"
findUnusedCode="true"
findUnusedBaselineEntry="true"
>
<projectFiles>
<directory name="src"/>
<directory name="test"/>
<ignoreFiles>
<directory name="vendor"/>
<directory name="test/TestAsset"/>
<directory name="test/**/TestAsset"/>
</ignoreFiles>
</projectFiles>
<issueHandlers>
<MixedAssignment errorLevel="suppress"/>
<DeprecatedMethod>
<errorLevel type="suppress">
<!-- Permit tests to call deprecated methods -->
<directory name="test" />
<file name="src/Test/CommonPluginManagerTrait.php" />
</errorLevel>
</DeprecatedMethod>
<DeprecatedProperty>
<errorLevel type="suppress">
<!-- The abstract plugin manager will need to reference deprecated props until v5 -->
<file name="src/AbstractPluginManager.php" />
</errorLevel>
</DeprecatedProperty>
<InternalClass>
<errorLevel type="suppress">
<!-- Tests are allowed to work with internal classes -->
<directory name="test"/>
</errorLevel>
</InternalClass>
<InternalMethod>
<errorLevel type="suppress">
<!-- Tests are allowed to work with internal classes -->
<directory name="test"/>
</errorLevel>
</InternalMethod>
<PossiblyUnusedMethod>
<errorLevel type="suppress">
<!-- All data-providers appear as 'un-used' -->
<directory name="test"/>
</errorLevel>
</PossiblyUnusedMethod>
<MissingOverrideAttribute>
<errorLevel type="suppress">
<directory name="src" />
<directory name="test" />
</errorLevel>
</MissingOverrideAttribute>
</issueHandlers>
<plugins><pluginClass class="Psalm\PhpUnitPlugin\Plugin"/></plugins></psalm>