-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpsalm.xml
146 lines (146 loc) · 5.58 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<?xml version="1.0"?>
<psalm
errorLevel="1"
resolveFromConfigFile="true"
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"
findUnusedBaselineEntry="true"
findUnusedCode="true"
>
<projectFiles>
<directory name="src" />
<ignoreFiles>
<directory name="src/Controller" />
<directory name="src/DependencyInjection" />
<directory name="src/EventSubscriber" />
<directory name="src/Factory" />
<directory name="src/Faker/Provider" />
<directory name="src/Form/DataMapper" />
<directory name="src/Twig/Extension" />
<directory name="src/Twig/Runtime" />
<directory name="vendor" />
</ignoreFiles>
</projectFiles>
<fileExtensions>
<extension name=".php" />
<extension name=".twig" checker="./vendor/psalm/plugin-symfony/src/Twig/TemplateFileAnalyzer.php" />
</fileExtensions>
<plugins>
<pluginClass class="Psalm\SymfonyPsalmPlugin\Plugin">
<containerXml>var/cache/dev/App_KernelDevDebugContainer.xml</containerXml>
</pluginClass>
<pluginClass class="Psalm\PhpUnitPlugin\Plugin" />
<pluginClass class="Weirdan\DoctrinePsalmPlugin\Plugin" />
</plugins>
<issueHandlers>
<ArgumentTypeCoercion>
<errorLevel type="suppress">
<directory name="src/Security" />
<file name="src/Service/CookieConsent.php" />
</errorLevel>
</ArgumentTypeCoercion>
<InvalidNullableReturnType>
<errorLevel type="suppress">
<directory name="src/Entity" />
</errorLevel>
</InvalidNullableReturnType>
<MissingConstructor>
<errorLevel type="suppress">
<directory name="src/DataTransferObjects" />
<directory name="src/Entity" />
</errorLevel>
</MissingConstructor>
<MissingTemplateParam>
<errorLevel type="suppress">
<directory name="src/Form" />
<directory name="src/Security/Voter" />
</errorLevel>
</MissingTemplateParam>
<MixedArgument>
<errorLevel type="suppress">
<file name="src/Service/CookieConsent.php" />
</errorLevel>
</MixedArgument>
<MixedArgumentTypeCoercion>
<errorLevel type="suppress">
<directory name="src" />
</errorLevel>
</MixedArgumentTypeCoercion>
<MixedInferredReturnType>
<errorLevel type="suppress">
<directory name="src/Faker/Provider" />
</errorLevel>
</MixedInferredReturnType>
<MixedMethodCall>
<errorLevel type="suppress">
<directory name="src/EventListener/" />
</errorLevel>
</MixedMethodCall>
<MixedPropertyTypeCoercion>
<errorLevel type="suppress">
<directory name="src" />
</errorLevel>
</MixedPropertyTypeCoercion>
<MixedReturnStatement>
<errorLevel type="suppress">
<directory name="src/Faker/Provider" />
</errorLevel>
</MixedReturnStatement>
<NullableReturnStatement>
<errorLevel type="suppress">
<directory name="src/Entity" />
<directory name="src/Faker/Provider" />
</errorLevel>
</NullableReturnStatement>
<PossiblyInvalidArgument>
<errorLevel type="suppress">
<file name="src/Service/CookieConsent.php" />
</errorLevel>
</PossiblyInvalidArgument>
<PossiblyNullArgument>
<errorLevel type="suppress">
<directory name="src/MessageHandler/Command/" />
<file name="src/Service/CookieConsent.php" />
</errorLevel>
</PossiblyNullArgument>
<PossiblyUnusedMethod>
<errorLevel type="suppress">
<directory name="src/DataTransferObjects" />
<directory name="src/Entity" />
<directory name="src/Enum" />
<directory name="src/Event" />
<directory name="src/Message/Event" />
<directory name="src/Pagination" />
<directory name="src/Query" />
<directory name="src/Repository" />
<directory name="src/Security" />
</errorLevel>
</PossiblyUnusedMethod>
<PossiblyUnusedParam>
<errorLevel type="suppress">
<directory name="src/Repository" />
<file name="src/Entity/State.php" />
</errorLevel>
</PossiblyUnusedParam>
<PropertyNotSetInConstructor>
<errorLevel type="suppress">
<directory name="src/Faker/Provider" />
<directory name="src/Entity" />
<directory name="src/MessageHandler/Command/" />
<directory name="src/Pagination" />
</errorLevel>
</PropertyNotSetInConstructor>
<UnusedClass>
<errorLevel type="suppress">
<directory name="src/Entity" />
<directory name="src/Enum" />
</errorLevel>
</UnusedClass>
<UnusedProperty>
<errorLevel type="suppress">
<file name="src/Entity/State.php" />
</errorLevel>
</UnusedProperty>
</issueHandlers>
</psalm>