-
Notifications
You must be signed in to change notification settings - Fork 1
/
psalm.xml
88 lines (86 loc) · 3.19 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?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"
errorLevel="2"
resolveFromConfigFile="true"
findUnusedBaselineEntry="false"
findUnusedCode="false"
allowStringToStandInForClass="true"
>
<projectFiles>
<directory name="src"/>
<directory name="tests"/>
<ignoreFiles>
<!--
<directory name="apps/*/*/var"/>
-->
<directory name="vendor"/>
<file name="src/Shared/Domain/Trait/Timestampable.php"/>
<file name="src/Shared/Domain/Trait/Sluggable.php"/>
<!--
<directory name="src/Shared/Infrastructure/Bus/Event/RabbitMq"/>
<directory name="src/Shared/Infrastructure/Symfony"/>
<directory name="tests/Shared/Infrastructure/Bus/Event/RabbitMq"/>
<directory name="tests/Shared/Infrastructure/Mink"/>
<directory name="tests/Shared/Infrastructure/PhpUnit/Constraint"/>
-->
</ignoreFiles>
</projectFiles>
<issueHandlers>
<PossiblyUndefinedMethod>
<errorLevel type="suppress">
<directory name="tests"/>
</errorLevel>
</PossiblyUndefinedMethod>
<PossiblyInvalidArgument>
<errorLevel type="suppress">
<directory name="tests"/>
</errorLevel>
</PossiblyInvalidArgument>
<PossiblyNullReference>
<errorLevel type="suppress">
<directory name="tests"/>
</errorLevel>
</PossiblyNullReference>
<PossiblyNullArgument>
<errorLevel type="suppress">
<directory name="tests"/>
</errorLevel>
</PossiblyNullArgument>
<PropertyNotSetInConstructor>
<errorLevel type="suppress">
<directory name="tests"/>
</errorLevel>
</PropertyNotSetInConstructor>
<MoreSpecificReturnType>
<errorLevel type="suppress">
<file name="src/*Kernel.php"/>
</errorLevel>
</MoreSpecificReturnType>
<UnresolvableInclude>
<errorLevel type="suppress">
<file name="src/*Kernel.php"/>
</errorLevel>
</UnresolvableInclude>
<MissingConstructor>
<errorLevel type="suppress">
<file name="src/*/Domain/Entity/*.php"/>
<file name="src/*/Domain/ValueObject/*.php"/>
</errorLevel>
</MissingConstructor>
<UnsafeInstantiation>
<errorLevel type="suppress">
<file name="src/Event/Domain/Bus/Uuid.php"/>
<file name="src/*/Domain/Entity/*.php"/>
<file name="src/*/Domain/ValueObject/*.php"/>
</errorLevel>
</UnsafeInstantiation>
</issueHandlers>
<plugins>
<pluginClass class="Psalm\MockeryPlugin\Plugin"/>
<pluginClass class="Psalm\SymfonyPsalmPlugin\Plugin"/>
<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
</plugins>
</psalm>