-
Notifications
You must be signed in to change notification settings - Fork 70
/
Copy pathphpstan-baseline.neon
286 lines (230 loc) · 11.6 KB
/
phpstan-baseline.neon
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
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
parameters:
ignoreErrors:
-
message: "#^\\\\Drupal calls should be avoided in classes, use dependency injection instead$#"
count: 1
path: docroot/modules/custom/va_gov_backend/src/Plugin/Validation/Constraint/PdfCheckValidator.php
-
message: "#^\\\\Drupal calls should be avoided in classes, use dependency injection instead$#"
count: 1
path: docroot/modules/custom/va_gov_backend/src/Plugin/Validation/Constraint/UniqueTitleValidator.php
-
message: "#^Call to an undefined method GuzzleHttp\\\\ClientInterface\\:\\:head\\(\\)\\.$#"
count: 1
path: docroot/modules/custom/va_gov_backend/src/Service/VaGovUrl.php
-
message: "#^Function field_group_group_delete not found\\.$#"
count: 3
path: docroot/modules/custom/va_gov_backend/va_gov_backend.install
-
message: "#^Variable \\$node might not be defined\\.$#"
count: 1
path: docroot/modules/custom/va_gov_backend/va_gov_backend.install
-
message: "#^Variable \\$saved might not be defined\\.$#"
count: 1
path: docroot/modules/custom/va_gov_backend/va_gov_backend.install
-
message: "#^Variable \\$swap_key might not be defined\\.$#"
count: 2
path: docroot/modules/custom/va_gov_backend/va_gov_backend.install
-
message: "#^Access to an undefined property Drupal\\\\Core\\\\Entity\\\\FieldableEntityInterface\\:\\:\\$path\\.$#"
count: 1
path: docroot/modules/custom/va_gov_backend/va_gov_backend.module
-
message: "#^Call to an undefined method Psr\\\\Log\\\\LoggerInterface\\:\\:success\\(\\)\\.$#"
count: 2
path: docroot/modules/custom/va_gov_build_trigger/src/Commands/SiteStatusCommands.php
-
message: "#^\\\\Drupal calls should be avoided in classes, use dependency injection instead$#"
count: 3
path: docroot/modules/custom/va_gov_build_trigger/src/Form/PreviewForm.php
-
message: "#^Method Drupal\\\\va_gov_build_trigger\\\\Plugin\\\\AdvancedQueue\\\\JobType\\\\ReleaseDispatch\\:\\:process\\(\\) should return Drupal\\\\advancedqueue\\\\JobResult but return statement is missing\\.$#"
count: 1
path: docroot/modules/custom/va_gov_build_trigger/src/Plugin/AdvancedQueue/JobType/ReleaseDispatch.php
-
message: "#^Method Drupal\\\\va_gov_build_trigger\\\\Plugin\\\\AdvancedQueue\\\\JobType\\\\ReleaseRequest\\:\\:process\\(\\) should return Drupal\\\\advancedqueue\\\\JobResult but return statement is missing\\.$#"
count: 1
path: docroot/modules/custom/va_gov_build_trigger/src/Plugin/AdvancedQueue/JobType/ReleaseRequest.php
-
message: "#^Method Symfony\\\\Contracts\\\\EventDispatcher\\\\EventDispatcherInterface\\:\\:dispatch\\(\\) invoked with 2 parameters, 1 required\\.$#"
count: 2
path: docroot/modules/custom/va_gov_clone/src/CloneManager.php
-
message: "#^Access to an undefined property Drupal\\\\va_gov_consumers\\\\Git\\\\GithubFactory\\:\\:\\$logger\\.$#"
count: 1
path: docroot/modules/custom/va_gov_consumers/src/Git/GithubFactory.php
-
message: "#^Access to an undefined property object\\:\\:\\$children\\.$#"
count: 1
path: docroot/modules/custom/va_gov_consumers/va_gov_consumers.module
-
message: "#^Call to an undefined method Drupal\\\\Core\\\\Form\\\\FormInterface\\:\\:getEntity\\(\\)\\.$#"
count: 3
path: docroot/modules/custom/va_gov_consumers/va_gov_consumers.module
-
message: "#^Call to an undefined method Drupal\\\\node\\\\Entity\\\\Node\\:\\:setRevisionAuthorId\\(\\)\\.$#"
count: 2
path: docroot/modules/custom/va_gov_db/va_gov_db.install
-
message: "#^PHPDoc tag @throws with type DrupalUpdateException is not subtype of Throwable$#"
count: 1
path: docroot/modules/custom/va_gov_db/va_gov_db.install
-
message: "#^Variable \\$nids might not be defined\\.$#"
count: 1
path: docroot/modules/custom/va_gov_db/va_gov_db.post_update.php
-
message: "#^Call to an undefined method Drupal\\\\Core\\\\Entity\\\\ContentEntityInterface\\:\\:isPublished\\(\\)\\.$#"
count: 1
path: docroot/modules/custom/va_gov_govdelivery/src/Service/ProcessStatusBulletin.php
-
message: "#^Call to method renderPlain\\(\\) on an unknown class Drupal\\\\va_gov_govdelivery\\\\Service\\\\Drupal\\\\Core\\\\Render\\\\RendererInterface\\.$#"
count: 1
path: docroot/modules/custom/va_gov_govdelivery/src/Service/ProcessStatusBulletin.php
-
message: "#^Property Drupal\\\\va_gov_govdelivery\\\\Service\\\\ProcessStatusBulletin\\:\\:\\$renderer has unknown class Drupal\\\\va_gov_govdelivery\\\\Service\\\\Drupal\\\\Core\\\\Render\\\\RendererInterface as its type\\.$#"
count: 1
path: docroot/modules/custom/va_gov_govdelivery/src/Service/ProcessStatusBulletin.php
-
message: "#^Variable \\$subject_prefix might not be defined\\.$#"
count: 1
path: docroot/modules/custom/va_gov_govdelivery/src/Service/ProcessStatusBulletin.php
-
message: "#^Variable \\$time might not be defined\\.$#"
count: 1
path: docroot/modules/custom/va_gov_govdelivery/src/Service/ProcessStatusBulletin.php
-
message: "#^Call to an undefined method Drupal\\\\Core\\\\Form\\\\FormInterface\\:\\:getEntity\\(\\)\\.$#"
count: 1
path: docroot/modules/custom/va_gov_govdelivery/va_gov_govdelivery.module
-
message: "#^\\\\Drupal calls should be avoided in classes, use dependency injection instead$#"
count: 1
path: docroot/modules/custom/va_gov_graphql/src/Routing/RouteSubscriber.php
-
message: "#^Call to method getFormObject\\(\\) on an unknown class Drupal\\\\va_gov_menu_access\\\\Service\\\\Drupal\\\\Core\\\\Form\\\\FormStateInterface\\.$#"
count: 2
path: docroot/modules/custom/va_gov_menu_access/src/Service/MenuReductionService.php
-
message: "#^Call to method getValue\\(\\) on an unknown class Drupal\\\\va_gov_menu_access\\\\Service\\\\Drupal\\\\Core\\\\Form\\\\FormStateInterface\\.$#"
count: 2
path: docroot/modules/custom/va_gov_menu_access/src/Service/MenuReductionService.php
-
message: "#^Property Drupal\\\\va_gov_menu_access\\\\Service\\\\MenuReductionService\\:\\:\\$formState has unknown class Drupal\\\\va_gov_menu_access\\\\Service\\\\Drupal\\\\Core\\\\Form\\\\FormStateInterface as its type\\.$#"
count: 1
path: docroot/modules/custom/va_gov_menu_access/src/Service/MenuReductionService.php
-
message: "#^\\\\Drupal calls should be avoided in classes, use dependency injection instead$#"
count: 3
path: docroot/modules/custom/va_gov_migrate/src/EventSubscriber/PostRowSave.php
-
message: "#^\\\\Drupal calls should be avoided in classes, use dependency injection instead$#"
count: 4
path: docroot/modules/custom/va_gov_migrate/src/Form/MigrateConfigForm.php
-
message: "#^\\\\Drupal calls should be avoided in classes, use dependency injection instead$#"
count: 1
path: docroot/modules/custom/va_gov_migrate/src/Obtainer/ObtainAlertBlockTitles.php
-
message: "#^Variable \\$anomalies might not be defined\\.$#"
count: 1
path: docroot/modules/custom/va_gov_migrate/src/Obtainer/ObtainAndTestBody.php
-
message: "#^Method Drupal\\\\va_gov_migrate\\\\Paragraph\\\\CollapsiblePanel\\:\\:isParagraph\\(\\) should return bool but return statement is missing\\.$#"
count: 1
path: docroot/modules/custom/va_gov_migrate/src/Paragraph/CollapsiblePanel.php
-
message: "#^Variable \\$error might not be defined\\.$#"
count: 1
path: docroot/modules/custom/va_gov_migrate/src/Paragraph/ReactWidget.php
-
message: "#^Variable \\$link_button might not be defined\\.$#"
count: 1
path: docroot/modules/custom/va_gov_migrate/src/Paragraph/ReactWidget.php
-
message: "#^Variable \\$link_text might not be defined\\.$#"
count: 1
path: docroot/modules/custom/va_gov_migrate/src/Paragraph/ReactWidget.php
-
message: "#^Variable \\$link_url might not be defined\\.$#"
count: 1
path: docroot/modules/custom/va_gov_migrate/src/Paragraph/ReactWidget.php
-
message: "#^Variable \\$loading might not be defined\\.$#"
count: 1
path: docroot/modules/custom/va_gov_migrate/src/Paragraph/ReactWidget.php
-
message: "#^Variable \\$timeout might not be defined\\.$#"
count: 1
path: docroot/modules/custom/va_gov_migrate/src/Paragraph/ReactWidget.php
-
message: "#^\\\\Drupal calls should be avoided in classes, use dependency injection instead$#"
count: 5
path: docroot/modules/custom/va_gov_migrate/src/ParagraphMigrator.php
-
message: "#^\\\\Drupal calls should be avoided in classes, use dependency injection instead$#"
count: 1
path: docroot/modules/custom/va_gov_migrate/src/ParagraphType.php
-
message: "#^\\\\Drupal calls should be avoided in classes, use dependency injection instead$#"
count: 1
path: docroot/modules/custom/va_gov_migrate/src/Plugin/migrate/source/AlertBlockSource.php
-
message: "#^Cannot access property \\$data on object\\|false\\.$#"
count: 2
path: docroot/modules/custom/va_gov_migrate/src/Plugin/migrate/source/MetalsmithSource.php
-
message: "#^\\\\Drupal calls should be avoided in classes, use dependency injection instead$#"
count: 3
path: docroot/modules/custom/va_gov_migrate/src/Plugin/migrate/source/MetalsmithSource.php
-
message: "#^\\\\Drupal calls should be avoided in classes, use dependency injection instead$#"
count: 1
path: docroot/modules/custom/va_gov_migrate/src/Plugin/migrate/source/SupportService.php
-
message: "#^Undefined variable\\: \\$source_id$#"
count: 1
path: docroot/modules/custom/va_gov_migrate/va_gov_migrate.install
-
message: "#^Call to method setEditedFlag\\(\\) on an unknown class Drupal\\\\va_gov_notifications\\\\FlagDecisionsInterface\\.$#"
count: 1
path: docroot/modules/custom/va_gov_notifications/src/Event/Entity/EditedFlag.php
-
message: "#^Property Drupal\\\\va_gov_notifications\\\\Event\\\\Entity\\\\EditedFlag\\:\\:\\$flaggingService has unknown class Drupal\\\\va_gov_notifications\\\\FlagDecisionsInterface as its type\\.$#"
count: 1
path: docroot/modules/custom/va_gov_notifications/src/Event/Entity/EditedFlag.php
-
message: "#^\\\\Drupal calls should be avoided in classes, use dependency injection instead$#"
count: 6
path: docroot/modules/custom/va_gov_post_api/src/Form/VaGovFacilityForceQueueForm.php
-
message: "#^Access to an undefined property Drupal\\\\va_gov_post_api\\\\Service\\\\PostFacilityService\\:\\:\\$Facility\\.$#"
count: 5
path: docroot/modules/custom/va_gov_post_api/src/Service/PostFacilityService.php
-
message: "#^Method Drupal\\\\va_gov_post_api\\\\Service\\\\PostFacilityService\\:\\:queueFacilityService\\(\\) should return int but return statement is missing\\.$#"
count: 1
path: docroot/modules/custom/va_gov_post_api/src/Service/PostFacilityService.php
-
message: "#^Method Drupal\\\\va_gov_preview\\\\Encoder\\\\StaticEncoder\\:\\:encode\\(\\) should return string but return statement is missing\\.$#"
count: 1
path: docroot/modules/custom/va_gov_preview/src/Encoder/StaticEncoder.php
-
message: "#^Access to an undefined property Drupal\\\\va_gov_user\\\\EventSubscriber\\\\UserImport\\:\\:\\$string_translation\\.$#"
count: 1
path: docroot/modules/custom/va_gov_user/src/EventSubscriber/UserImport.php
-
message: "#^Call to an undefined method Drupal\\\\Core\\\\Database\\\\Database\\:\\:select\\(\\)\\.$#"
count: 1
path: docroot/modules/custom/va_gov_user/src/Service/UserPermsService.php
-
message: "#^\\\\Drupal calls should be avoided in classes, use dependency injection instead$#"
count: 2
path: docroot/modules/custom/va_gov_user/src/Service/UserPermsService.php
-
message: "#^Access to an undefined property Drupal\\\\Core\\\\Field\\\\FieldItemInterface\\:\\:\\$value\\.$#"
count: 2
path: docroot/modules/custom/va_gov_resources_and_support/va_gov_resources_and_support.deploy.php