-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpsalm.xml
46 lines (46 loc) · 1.91 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
<?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"
ignoreInternalFunctionFalseReturn="false"
ignoreInternalFunctionNullReturn="false"
ensureArrayStringOffsetsExist="true"
sealAllMethods="true"
cacheDirectory="var/psalm"
findUnusedCode="true"
findUnusedVariablesAndParams="true"
findUnusedPsalmSuppress="true"
phpVersion="8.0"
>
<projectFiles>
<directory name="src"/>
<directory name="tests"/>
<ignoreFiles>
<directory name="vendor"/>
<directory name="vendor-bin"/>
</ignoreFiles>
</projectFiles>
<issueHandlers>
<PropertyNotSetInConstructor>
<errorLevel type="suppress">
<referencedProperty name="Doctrine\ORM\EntityRepository::$_entityName"/>
<referencedProperty name="Doctrine\ORM\EntityRepository::$_em"/>
<referencedProperty name="Doctrine\ORM\EntityRepository::$_class"/>
<referencedProperty name="Doctrine\Common\DataFixtures\AbstractFixture::$referenceRepository"/>
<referencedProperty name="Symfony\Bundle\FrameworkBundle\Controller\AbstractController::$container"/>
<referencedProperty name="Psr\Log\LoggerAwareTrait::$logger"/>
</errorLevel>
</PropertyNotSetInConstructor>
<!-- suppress dead code issues-->
<UnusedClass errorLevel="suppress"/>
<PossiblyUnusedMethod errorLevel="suppress"/>
<PossiblyUnusedProperty errorLevel="suppress"/>
</issueHandlers>
<plugins>
<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
<pluginClass class="Psalm\SymfonyPsalmPlugin\Plugin"/>
<pluginClass class="Weirdan\DoctrinePsalmPlugin\Plugin"/>
</plugins>
</psalm>