-
Notifications
You must be signed in to change notification settings - Fork 10
/
psalm.xml
51 lines (49 loc) · 1.73 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
<?xml version="1.0"?>
<psalm
xmlns="https://getpsalm.org/schema/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
name="Example Psalm config with recommended defaults"
errorLevel="1"
findUnusedBaselineEntry="true"
findUnusedCode="true"
>
<plugins>
<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
</plugins>
<projectFiles>
<directory name="src"/>
<directory name="test/e2e"/>
<directory name="test/unit"/>
</projectFiles>
<issueHandlers>
<DeprecatedClass>
<errorLevel type="suppress">
<referencedClass name="PackageVersions\Versions"/>
</errorLevel>
</DeprecatedClass>
<PropertyNotSetInConstructor errorLevel="suppress"/>
<InternalClass errorLevel="suppress"/>
<InternalMethod errorLevel="suppress"/>
<UnresolvableInclude>
<errorLevel type="suppress">
<file name="src/Hook.php"/>
</errorLevel>
</UnresolvableInclude>
<ArgumentTypeCoercion>
<errorLevel type="suppress">
<file name="test/unit/Composer/PackageAutoloadTest.php" />
</errorLevel>
</ArgumentTypeCoercion>
<OverriddenMethodAccess>
<errorLevel type="suppress">
<file name="src/Psalm/Configuration.php"/>
</errorLevel>
</OverriddenMethodAccess>
<ConstructorSignatureMismatch>
<errorLevel type="suppress">
<file name="src/Psalm/Configuration.php"/>
</errorLevel>
</ConstructorSignatureMismatch>
</issueHandlers>
</psalm>