-
Notifications
You must be signed in to change notification settings - Fork 32
/
psalm.xml.dist
45 lines (45 loc) · 1.83 KB
/
psalm.xml.dist
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
<?xml version="1.0"?>
<psalm
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"
>
<projectFiles>
<directory name="src" />
<directory name="test" />
<ignoreFiles>
<directory name="vendor" />
</ignoreFiles>
</projectFiles>
<plugins>
<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
</plugins>
<issueHandlers>
<InternalMethod>
<errorLevel type="suppress">
<!-- We consume AbstractFactory methods in the tests, but namespaces differ so Psalm complains -->
<directory name="test/"/>
</errorLevel>
</InternalMethod>
<InternalClass>
<errorLevel type="suppress">
<!-- We consume AbstractFactory methods in the tests, but namespaces differ so Psalm complains -->
<referencedClass name="Roave\PsrContainerDoctrine\AbstractFactory"/>
</errorLevel>
</InternalClass>
<DeprecatedClass>
<errorLevel type="suppress">
<referencedClass name="Doctrine\Common\Annotations\CachedReader"/>
<referencedClass name="Doctrine\ORM\Mapping\Driver\AnnotationDriver"/>
<referencedClass name="Doctrine\Persistence\Mapping\Driver\AnnotationDriver"/>
</errorLevel>
</DeprecatedClass>
<DeprecatedMethod>
<errorLevel type="suppress">
<referencedMethod name="Doctrine\DBAL\Configuration::setSQLLogger"/>
<referencedMethod name="Doctrine\DBAL\Connection::getEventManager"/>
</errorLevel>
</DeprecatedMethod>
</issueHandlers>
</psalm>