-
-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathpsalm.xml.dist
More file actions
60 lines (55 loc) · 2.08 KB
/
psalm.xml.dist
File metadata and controls
60 lines (55 loc) · 2.08 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
<?xml version="1.0"?>
<psalm
cacheDirectory="./.psalm-cache"
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"
errorLevel="1"
findUnusedPsalmSuppress="true"
findUnusedCode="true"
findUnusedBaselineEntry="true"
findUnusedIssueHandlerSuppression="true"
errorBaseline="psalm-baseline.xml"
>
<projectFiles>
<directory name="src"/>
<directory name="test"/>
<ignoreFiles>
<directory name="vendor"/>
</ignoreFiles>
</projectFiles>
<issueHandlers>
<!-- #[Override] attribute is suppressed globally because it brings little benefit -->
<MissingOverrideAttribute>
<errorLevel type="suppress">
<directory name="src" />
<directory name="test" />
</errorLevel>
</MissingOverrideAttribute>
<InternalClass>
<errorLevel type="suppress">
<referencedClass name="Mezzio\Hal\Response\CallableResponseFactoryDecorator"/>
</errorLevel>
</InternalClass>
<DeprecatedClass>
<errorLevel type="suppress">
<referencedClass name="Mezzio\Hal\Response\CallableResponseFactoryDecorator"/>
</errorLevel>
</DeprecatedClass>
<InternalMethod>
<errorLevel type="suppress">
<referencedMethod name="Mezzio\Hal\Response\CallableResponseFactoryDecorator::getResponseFromCallable"/>
<referencedMethod name="PHPUnit\Framework\Exception::__construct"/>
</errorLevel>
</InternalMethod>
<DeprecatedTrait>
<errorLevel type="suppress">
<file name="src/HalResponseFactoryFactory.php"/>
<file name="test/TestAsset/Psr17ResponseFactoryTraitImplementation.php"/>
</errorLevel>
</DeprecatedTrait>
</issueHandlers>
<plugins>
<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
</plugins>
</psalm>