-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
211 lines (177 loc) · 8.13 KB
/
phpstan-baseline.neon
File metadata and controls
211 lines (177 loc) · 8.13 KB
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
parameters:
ignoreErrors:
-
message: '#^Parameter \#4 \$default of method Symfony\\Component\\Console\\Command\\Command\:\:addArgument\(\) expects array\<int, string\>\|null, array given\.$#'
identifier: argument.type
count: 1
path: src/Command/Index/IndexCreateCommand.php
-
message: '#^Parameter \#4 \$default of method Symfony\\Component\\Console\\Command\\Command\:\:addArgument\(\) expects array\<int, string\>\|null, array given\.$#'
identifier: argument.type
count: 1
path: src/Command/Index/IndexDumpCommand.php
-
message: '#^Parameter \#4 \$default of method Symfony\\Component\\Console\\Command\\Command\:\:addArgument\(\) expects array\<int, string\>\|null, array given\.$#'
identifier: argument.type
count: 1
path: src/Command/Index/IndexPopulateCommand.php
-
message: '#^Call to method App\\Repository\\VocabularyRepository\:\:findOneBy\(\) \- entity App\\Entity\\Event does not have a field named \$name\.$#'
identifier: doctrine.findOneByArgument
count: 1
path: src/Command/Migrate/MigrateTagsCommand.php
-
message: '#^Using nullsafe property access "\?\-\>\(Expression\)" on left side of \?\? is unnecessary\. Use \-\> instead\.$#'
identifier: nullsafe.neverNull
count: 1
path: src/Command/Migrate/MigrateTagsCommand.php
-
message: '#^Call to method DateTimeImmutable\:\:setTimezone\(\) on a separate line has no effect\.$#'
identifier: method.resultUnused
count: 2
path: src/Entity/DailyOccurrence.php
-
message: '#^Property App\\Entity\\Event\:\:\$createdAt has no type specified\.$#'
identifier: missingType.property
count: 1
path: src/Entity/Event.php
-
message: '#^Property App\\Entity\\Event\:\:\$updatedAt has no type specified\.$#'
identifier: missingType.property
count: 1
path: src/Entity/Event.php
-
message: '#^Method App\\Entity\\Feed\:\:setConfigurationField\(\) has InvalidArgumentException in PHPDoc @throws tag but it''s not thrown\.$#'
identifier: throws.unusedType
count: 1
path: src/Entity/Feed.php
-
message: '#^Call to method DateTimeImmutable\:\:setTimezone\(\) on a separate line has no effect\.$#'
identifier: method.resultUnused
count: 2
path: src/Entity/Occurrence.php
-
message: '#^Property App\\Entity\\Organization\:\:\$createdAt has no type specified\.$#'
identifier: missingType.property
count: 1
path: src/Entity/Organization.php
-
message: '#^Property App\\Entity\\Organization\:\:\$updatedAt has no type specified\.$#'
identifier: missingType.property
count: 1
path: src/Entity/Organization.php
-
message: '#^Call to function is_null\(\) with array\<string\> will always evaluate to false\.$#'
identifier: function.impossibleType
count: 1
path: src/Factory/EventFactory.php
-
message: '#^Call to method App\\Repository\\LocationRepository\:\:findOneBy\(\) \- entity App\\Entity\\Event does not have a field named \$mail\.$#'
identifier: doctrine.findOneByArgument
count: 1
path: src/Factory/LocationFactory.php
-
message: '#^Call to method App\\Repository\\LocationRepository\:\:findOneBy\(\) \- entity App\\Entity\\Event does not have a field named \$name\.$#'
identifier: doctrine.findOneByArgument
count: 1
path: src/Factory/LocationFactory.php
-
message: '#^Call to method App\\Repository\\LocationRepository\:\:findOneBy\(\) \- entity App\\Entity\\Event does not have a field named \$telephone\.$#'
identifier: doctrine.findOneByArgument
count: 1
path: src/Factory/LocationFactory.php
-
message: '#^Variable \$values in empty\(\) always exists and is always falsy\.$#'
identifier: empty.variable
count: 1
path: src/Factory/LocationFactory.php
-
message: '#^Call to method App\\Repository\\OrganizationRepository\:\:findOneBy\(\) \- entity App\\Entity\\Event does not have a field named \$name\.$#'
identifier: doctrine.findOneByArgument
count: 1
path: src/Factory/OrganizationFactory.php
-
message: '#^Call to method App\\Repository\\TagRepository\:\:findOneBy\(\) \- entity App\\Entity\\Event does not have a field named \$slug\.$#'
identifier: doctrine.findOneByArgument
count: 1
path: src/Factory/TagsFactory.php
-
message: '#^Call to function is_null\(\) with int will always evaluate to false\.$#'
identifier: function.impossibleType
count: 1
path: src/MessageHandler/ImageHandler.php
-
message: '#^PHPDoc tag @extends contains generic type App\\Repository\\AbstractPopulateRepository\<App\\Entity\\DailyOccurrence\> but class App\\Repository\\AbstractPopulateRepository is not generic\.$#'
identifier: generics.notGeneric
count: 1
path: src/Repository/DailyOccurrenceRepository.php
-
message: '#^PHPDoc tag @extends contains generic type App\\Repository\\AbstractPopulateRepository\<App\\Entity\\Event\> but class App\\Repository\\AbstractPopulateRepository is not generic\.$#'
identifier: generics.notGeneric
count: 1
path: src/Repository/EventRepository.php
-
message: '#^PHPDoc tag @extends contains generic type App\\Repository\\AbstractPopulateRepository\<App\\Entity\\Location\> but class App\\Repository\\AbstractPopulateRepository is not generic\.$#'
identifier: generics.notGeneric
count: 1
path: src/Repository/LocationRepository.php
-
message: '#^PHPDoc tag @extends contains generic type App\\Repository\\AbstractPopulateRepository\<App\\Entity\\Occurrence\> but class App\\Repository\\AbstractPopulateRepository is not generic\.$#'
identifier: generics.notGeneric
count: 1
path: src/Repository/OccurrenceRepository.php
-
message: '#^PHPDoc tag @extends contains generic type App\\Repository\\AbstractPopulateRepository\<App\\Entity\\Organization\> but class App\\Repository\\AbstractPopulateRepository is not generic\.$#'
identifier: generics.notGeneric
count: 1
path: src/Repository/OrganizationRepository.php
-
message: '#^PHPDoc tag @extends contains generic type App\\Repository\\AbstractPopulateRepository\<App\\Entity\\Tag\> but class App\\Repository\\AbstractPopulateRepository is not generic\.$#'
identifier: generics.notGeneric
count: 1
path: src/Repository/TagRepository.php
-
message: '#^PHPDoc tag @extends contains generic type App\\Repository\\AbstractPopulateRepository\<App\\Entity\\Vocabulary\> but class App\\Repository\\AbstractPopulateRepository is not generic\.$#'
identifier: generics.notGeneric
count: 1
path: src/Repository/VocabularyRepository.php
-
message: '#^Call to an undefined method Symfony\\Component\\Serializer\\SerializerInterface\:\:normalize\(\)\.$#'
identifier: method.notFound
count: 1
path: src/Service/Indexing/IndexingDailyOccurrences.php
-
message: '#^Call to an undefined method Symfony\\Component\\Serializer\\SerializerInterface\:\:normalize\(\)\.$#'
identifier: method.notFound
count: 1
path: src/Service/Indexing/IndexingEvents.php
-
message: '#^Call to an undefined method Symfony\\Component\\Serializer\\SerializerInterface\:\:normalize\(\)\.$#'
identifier: method.notFound
count: 1
path: src/Service/Indexing/IndexingLocations.php
-
message: '#^Call to an undefined method Symfony\\Component\\Serializer\\SerializerInterface\:\:normalize\(\)\.$#'
identifier: method.notFound
count: 1
path: src/Service/Indexing/IndexingOccurrences.php
-
message: '#^Call to an undefined method Symfony\\Component\\Serializer\\SerializerInterface\:\:normalize\(\)\.$#'
identifier: method.notFound
count: 1
path: src/Service/Indexing/IndexingOrganizations.php
-
message: '#^Call to an undefined method Symfony\\Component\\Serializer\\SerializerInterface\:\:normalize\(\)\.$#'
identifier: method.notFound
count: 1
path: src/Service/Indexing/IndexingTags.php
-
message: '#^Call to an undefined method Symfony\\Component\\Serializer\\SerializerInterface\:\:normalize\(\)\.$#'
identifier: method.notFound
count: 1
path: src/Service/Indexing/IndexingVocabularies.php
-
message: '#^Call to method App\\Repository\\TagRepository\:\:findOneBy\(\) \- entity App\\Entity\\Event does not have a field named \$name\.$#'
identifier: doctrine.findOneByArgument
count: 1
path: src/Service/TagsNormalizer.php