forked from sonata-project/SonataAdminBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpsalm-baseline.xml
216 lines (216 loc) · 8.34 KB
/
psalm-baseline.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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="3.13.1@afd8874a9e4562eac42a02de90e42e430c3a1db1">
<file src="src/Admin/AbstractAdmin.php">
<!--will be removed in v4. Currently BC break-->
<InvalidReturnStatement occurrences="1">
<code>$this->parentAssociationMapping</code>
</InvalidReturnStatement>
<!--will be fixed in v4. Currently BC break. Remove string from union type of $this->parentAssociationMapping-->
<InvalidArrayOffset occurrences="1">
<code>$this->parentAssociationMapping[$code]</code>
</InvalidArrayOffset>
<!--will be removed in v4. Currently BC break-->
<InvalidPropertyAssignmentValue occurrences="1">
<code>$this->subClasses</code>
</InvalidPropertyAssignmentValue>
</file>
<file src="src/Datagrid/Pager.php">
<InvalidReturnStatement occurrences="2">
<code>next($this->results)</code>
<code>reset($this->results)</code>
</InvalidReturnStatement>
</file>
<file src="src/Datagrid/SimplePager.php">
<InvalidReturnStatement occurrences="2">
<code>$this->results</code>
<code>$this->results</code>
</InvalidReturnStatement>
</file>
<file src="src/Translator/Extractor/JMSTranslatorBundle/AdminExtractor.php">
<InvalidReturnType occurrences="2">
<code>buildSecurityInformation</code>
<code>getBaseRole</code>
</InvalidReturnType>
</file>
<!--The next error is due to not installed Doctrine ORM\ODM-->
<file src="src/Admin/AdminHelper.php">
<UndefinedClass occurrences="1">
<code>DoctrinePersistentCollection</code>
</UndefinedClass>
</file>
<!--will be removed in v4. Currently BC break-->
<file src="src/Command/CreateClassCacheCommand.php">
<UndefinedClass occurrences="1">
<code>ClassCollectionLoader</code>
</UndefinedClass>
</file>
<!--will be removed in v4. Currently BC break-->
<file src="src/Form/Type/ModelTypeList.php">
<InvalidExtendClass occurrences="1">
<code>ModelListType</code>
</InvalidExtendClass>
</file>
<!--will be removed in v4. Currently BC break-->
<file src="src/Object/MetadataInterface.php">
<UndefinedClass occurrences="1">
<code>CoreMetadataInterface</code>
</UndefinedClass>
<UnrecognizedStatement occurrences="1"/>
</file>
<!--will be removed in v4. Currently BC break-->
<file src="src/Form/Extension/ChoiceTypeExtension.php">
<UndefinedClass occurrences="1">
<code>OptionsResolverInterface</code>
</UndefinedClass>
</file>
<file src="src/Form/Extension/Field/Type/FormTypeFieldExtension.php">
<UndefinedClass occurrences="1">
<code>OptionsResolverInterface</code>
</UndefinedClass>
</file>
<file src="src/Form/Extension/Field/Type/MopaCompatibilityTypeFieldExtension.php">
<UndefinedClass occurrences="1">
<code>OptionsResolverInterface</code>
</UndefinedClass>
</file>
<file src="src/Form/Type/AclMatrixType.php">
<UndefinedClass occurrences="1">
<code>OptionsResolverInterface</code>
</UndefinedClass>
</file>
<file src="src/Form/Type/AdminType.php">
<UndefinedClass occurrences="1">
<code>OptionsResolverInterface</code>
</UndefinedClass>
</file>
<file src="src/Form/Type/ChoiceFieldMaskType.php">
<UndefinedClass occurrences="1">
<code>OptionsResolverInterface</code>
</UndefinedClass>
</file>
<file src="src/Form/Type/Filter/ChoiceType.php">
<UndefinedClass occurrences="1">
<code>OptionsResolverInterface</code>
</UndefinedClass>
</file>
<file src="src/Form/Type/Filter/DateRangeType.php">
<UndefinedClass occurrences="1">
<code>OptionsResolverInterface</code>
</UndefinedClass>
</file>
<file src="src/Form/Type/Filter/DateTimeRangeType.php">
<UndefinedClass occurrences="1">
<code>OptionsResolverInterface</code>
</UndefinedClass>
</file>
<file src="src/Form/Type/Filter/DateTimeType.php">
<UndefinedClass occurrences="1">
<code>OptionsResolverInterface</code>
</UndefinedClass>
</file>
<file src="src/Form/Type/Filter/DateType.php">
<UndefinedClass occurrences="1">
<code>OptionsResolverInterface</code>
</UndefinedClass>
</file>
<file src="src/Form/Type/Filter/DefaultType.php">
<UndefinedClass occurrences="1">
<code>OptionsResolverInterface</code>
</UndefinedClass>
</file>
<file src="src/Form/Type/Filter/NumberType.php">
<UndefinedClass occurrences="1">
<code>OptionsResolverInterface</code>
</UndefinedClass>
</file>
<file src="src/Form/Type/ModelAutocompleteType.php">
<UndefinedClass occurrences="1">
<code>OptionsResolverInterface</code>
</UndefinedClass>
</file>
<file src="src/Form/Type/ModelHiddenType.php">
<UndefinedClass occurrences="1">
<code>OptionsResolverInterface</code>
</UndefinedClass>
</file>
<file src="src/Form/Type/ModelListType.php">
<UndefinedClass occurrences="1">
<code>OptionsResolverInterface</code>
</UndefinedClass>
</file>
<file src="src/Form/Type/ModelReferenceType.php">
<UndefinedClass occurrences="1">
<code>OptionsResolverInterface</code>
</UndefinedClass>
</file>
<file src="src/Form/Type/ModelType.php">
<UndefinedClass occurrences="1">
<code>OptionsResolverInterface</code>
</UndefinedClass>
</file>
<!-- ignore template files-->
<file src="src/Resources/skeleton/Admin.tpl.php">
<UndefinedGlobalVariable occurrences="6">
<code>$namespace</code>
<code>$class_name</code>
<code>$fields</code>
<code>$fields</code>
<code>$fields</code>
<code>$fields</code>
</UndefinedGlobalVariable>
</file>
<file src="src/Resources/skeleton/AdminController.tpl.php">
<UndefinedGlobalVariable occurrences="2">
<code>$namespace</code>
<code>$class_name</code>
</UndefinedGlobalVariable>
</file>
<!--will be removed in v4. Currently BC break-->
<file src="src/Twig/Extension/StringExtension.php">
<UndefinedClass occurrences="2">
<code>TextExtension</code>
<code>TextExtension</code>
</UndefinedClass>
</file>
<file src="src/Admin/FieldDescriptionCollection.php">
<InvalidPropertyAssignmentValue occurrences="1">
<code>array_merge(array_flip($keys), $this->elements)</code>
</InvalidPropertyAssignmentValue>
</file>
<!--will be removed in v4. Currently BC break-->
<file src="src/Twig/Extension/TemplateRegistryExtension.php">
<ContainerDependency occurrences="1">
<code>ContainerInterface $container</code>
</ContainerDependency>
</file>
<!--will be removed in v4. Currently BC break-->
<file src="src/Route/AdminPoolLoader.php">
<ContainerDependency occurrences="1">
<code>ContainerInterface $container</code>
</ContainerDependency>
</file>
<!--will be removed in v4. Currently BC break-->
<file src="src/Model/AuditManager.php">
<ContainerDependency occurrences="1">
<code>ContainerInterface $container</code>
</ContainerDependency>
</file>
<!--will be removed in v4. Currently BC break-->
<file src="src/Filter/FilterFactory.php">
<ContainerDependency occurrences="1">
<code>ContainerInterface $container</code>
</ContainerDependency>
</file>
<!--will be removed in v4. Currently BC break-->
<file src="src/Controller/PolyfillControllerTrait.php">
<ContainerDependency occurrences="1">
<code>ContainerInterface $container</code>
</ContainerDependency>
</file>
<!--will be removed in v4. Currently BC break-->
<file src="src/Admin/Pool.php">
<ContainerDependency occurrences="1">
<code>ContainerInterface $container</code>
</ContainerDependency>
</file>
</files>