forked from doctrine/DoctrineBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
psalm.xml.dist
62 lines (62 loc) · 2.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?xml version="1.0"?>
<psalm
errorLevel="4"
phpVersion="8.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
findUnusedBaselineEntry="true"
findUnusedCode="false"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
>
<plugins>
<pluginClass class="Psalm\SymfonyPsalmPlugin\Plugin"/>
<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
</plugins>
<projectFiles>
<directory name="src"/>
<ignoreFiles>
<directory name="vendor"/>
<!-- Deprecated classes, not worth fixing -->
<file name="src/Command/ImportMappingDoctrineCommand.php"/>
<file name="src/Command/Proxy/OrmProxyCommand.php"/>
<file name="src/DependencyInjection/Compiler/WellKnownSchemaFilterPass.php"/>
</ignoreFiles>
</projectFiles>
<issueHandlers>
<RedundantPropertyInitializationCheck>
<errorLevel type="suppress">
<!-- Properties can be uninitialized in tests if setUp() fails. -->
<directory name="tests"/>
</errorLevel>
</RedundantPropertyInitializationCheck>
<UndefinedClass>
<errorLevel type="suppress">
<!-- We use the "Foo" namespace in unit tests. We are aware that those classes don't exist. -->
<referencedClass name="Foo\*"/>
<!-- Dropped in ORM 3 -->
<referencedClass name="Doctrine\ORM\Tools\EntityGenerator"/>
<referencedClass name="Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper"/>
<referencedClass name="Doctrine\ORM\Tools\DisconnectedClassMetadataFactory"/>
<referencedClass name="Doctrine\ORM\Mapping\Driver\YamlDriver"/>
<referencedClass name="Doctrine\ORM\Mapping\Driver\SimplifiedYamlDriver"/>
<referencedClass name="Doctrine\ORM\Mapping\Driver\AnnotationDriver"/>
<referencedClass name="Doctrine\ORM\ORMException"/>
<!-- Dropped in DBAL 4 -->
<referencedClass name="Doctrine\DBAL\Exception"/>
</errorLevel>
</UndefinedClass>
<DuplicateClass>
<errorLevel type="suppress">
<!-- Conditional class definition-->
<file name="src/Repository/RepositoryFactoryCompatibility.php"/>
<file name="src/Repository/ServiceEntityRepository.php"/>
</errorLevel>
</DuplicateClass>
<UndefinedMethod>
<errorLevel type="suppress">
<!-- Too tricky to configure very nested configuration in a way Psalm understands -->
<file name="src/DependencyInjection/Configuration.php" />
</errorLevel>
</UndefinedMethod>
</issueHandlers>
</psalm>