-
-
Notifications
You must be signed in to change notification settings - Fork 85
/
phpstan-baseline.neon
259 lines (209 loc) · 10.2 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
parameters:
ignoreErrors:
-
message: "#^Cognitive complexity for \"AOE\\\\Crawler\\\\Command\\\\BuildQueueCommand\\:\\:execute\\(\\)\" is 23, keep it under 21$#"
count: 1
path: Classes/Command/BuildQueueCommand.php
-
message: "#^Constant AOE\\\\Crawler\\\\Command\\\\ProcessQueueCommand\\:\\:CLI_STATUS_POLLABLE_PROCESSED is unused\\.$#"
count: 1
path: Classes/Command/ProcessQueueCommand.php
-
message: "#^Cannot access offset 'ShowFeVars' on array\\|object\\.$#"
count: 1
path: Classes/Controller/Backend/BackendModuleCrawlerLogController.php
-
message: "#^Cannot access offset 'ShowResultLog' on array\\|object\\.$#"
count: 1
path: Classes/Controller/Backend/BackendModuleCrawlerLogController.php
-
message: "#^Cannot access offset '_csv' on array\\|object\\.$#"
count: 1
path: Classes/Controller/Backend/BackendModuleCrawlerLogController.php
-
message: "#^Cannot access offset '_flush' on array\\|object\\.$#"
count: 1
path: Classes/Controller/Backend/BackendModuleCrawlerLogController.php
-
message: "#^Cannot access offset '_flush_all' on array\\|object\\.$#"
count: 1
path: Classes/Controller/Backend/BackendModuleCrawlerLogController.php
-
message: "#^Cannot access offset 'displayLog' on array\\|object\\.$#"
count: 1
path: Classes/Controller/Backend/BackendModuleCrawlerLogController.php
-
message: "#^Cannot access offset 'itemsPerPage' on array\\|object\\.$#"
count: 1
path: Classes/Controller/Backend/BackendModuleCrawlerLogController.php
-
message: "#^Cannot access offset 'logDepth' on array\\|object\\.$#"
count: 1
path: Classes/Controller/Backend/BackendModuleCrawlerLogController.php
-
message: "#^Cannot access offset 'parameters' on array\\<string, mixed\\>\\|false\\.$#"
count: 2
path: Classes/Controller/Backend/BackendModuleCrawlerLogController.php
-
message: "#^Cannot access offset 'qid_details' on array\\|object\\.$#"
count: 1
path: Classes/Controller/Backend/BackendModuleCrawlerLogController.php
-
message: "#^Cannot access offset 'qid_read' on array\\|object\\.$#"
count: 1
path: Classes/Controller/Backend/BackendModuleCrawlerLogController.php
-
message: "#^Cannot access offset 'setID' on array\\|object\\.$#"
count: 3
path: Classes/Controller/Backend/BackendModuleCrawlerLogController.php
-
message: "#^Cannot access offset 'action' on array\\|object\\.$#"
count: 1
path: Classes/Controller/Backend/BackendModuleCrawlerProcessController.php
-
message: "#^Cannot access offset 'processListMode' on array\\|object\\.$#"
count: 1
path: Classes/Controller/Backend/BackendModuleCrawlerProcessController.php
-
message: "#^Unable to resolve the template type T in call to method static method TYPO3\\\\CMS\\\\Core\\\\Utility\\\\GeneralUtility\\:\\:makeInstance\\(\\)$#"
count: 1
path: Classes/Controller/Backend/BackendModuleCrawlerProcessController.php
-
message: "#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#"
count: 1
path: Classes/Controller/Backend/BackendModuleStartCrawlingController.php
-
message: "#^Cannot access offset '_crawl' on array\\|object\\.$#"
count: 1
path: Classes/Controller/Backend/BackendModuleStartCrawlingController.php
-
message: "#^Cannot access offset '_download' on array\\|object\\.$#"
count: 1
path: Classes/Controller/Backend/BackendModuleStartCrawlingController.php
-
message: "#^Cannot access offset 'configurationSelect…' on array\\|object\\.$#"
count: 1
path: Classes/Controller/Backend/BackendModuleStartCrawlingController.php
-
message: "#^Cannot access offset 'crawlingDepth' on array\\|object\\.$#"
count: 1
path: Classes/Controller/Backend/BackendModuleStartCrawlingController.php
-
message: "#^Cannot access offset 'tstamp' on array\\|object\\.$#"
count: 2
path: Classes/Controller/Backend/BackendModuleStartCrawlingController.php
-
message: "#^Result of \\|\\| is always true\\.$#"
count: 1
path: Classes/Controller/Backend/BackendModuleStartCrawlingController.php
-
message: "#^Method AOE\\\\Crawler\\\\Controller\\\\Backend\\\\Helper\\\\UrlBuilder\\:\\:getBackendModuleUrl\\(\\) should return TYPO3\\\\CMS\\\\Core\\\\Http\\\\Uri but returns Psr\\\\Http\\\\Message\\\\UriInterface\\.$#"
count: 1
path: Classes/Controller/Backend/Helper/UrlBuilder.php
-
message: "#^Class cognitive complexity is 97, keep it under 35$#"
count: 1
path: Classes/Controller/CrawlerController.php
-
message: "#^Else branch is unreachable because ternary operator condition is always true\\.$#"
count: 1
path: Classes/Controller/CrawlerController.php
-
message: "#^Parameter \\#1 \\$pageUid of static method TYPO3\\\\CMS\\\\Backend\\\\Utility\\\\BackendUtility\\:\\:getPagesTSconfig\\(\\) expects int, string given\\.$#"
count: 1
path: Classes/Controller/CrawlerController.php
-
message: "#^Property AOE\\\\Crawler\\\\Controller\\\\CrawlerController\\:\\:\\$crawler is never read, only written\\.$#"
count: 1
path: Classes/Controller/CrawlerController.php
-
message: "#^Call to an undefined method object\\:\\:crawler_execute\\(\\)\\.$#"
count: 1
path: Classes/CrawlStrategy/CallbackExecutionStrategy.php
-
message: "#^Method AOE\\\\Crawler\\\\CrawlStrategy\\\\CallbackExecutionStrategy\\:\\:fetchByCallback\\(\\) has no return type specified\\.$#"
count: 1
path: Classes/CrawlStrategy/CallbackExecutionStrategy.php
-
message: "#^Parameter \\#1 \\$className of static method TYPO3\\\\CMS\\\\Core\\\\Utility\\\\GeneralUtility\\:\\:makeInstance\\(\\) expects class\\-string\\<object\\>, string given\\.$#"
count: 1
path: Classes/CrawlStrategy/CallbackExecutionStrategy.php
-
message: "#^Unable to resolve the template type T in call to method static method TYPO3\\\\CMS\\\\Core\\\\Utility\\\\GeneralUtility\\:\\:makeInstance\\(\\)$#"
count: 1
path: Classes/CrawlStrategy/CallbackExecutionStrategy.php
-
message: "#^Else branch is unreachable because ternary operator condition is always true\\.$#"
count: 1
path: Classes/CrawlStrategy/CrawlStrategyFactory.php
-
message: "#^Method AOE\\\\Crawler\\\\CrawlStrategy\\\\CrawlStrategyInterface\\:\\:fetchUrlContents\\(\\) has no return type specified\\.$#"
count: 1
path: Classes/CrawlStrategy/CrawlStrategyInterface.php
-
message: "#^Else branch is unreachable because ternary operator condition is always true\\.$#"
count: 1
path: Classes/CrawlStrategy/SubProcessExecutionStrategy.php
-
message: "#^Method AOE\\\\Crawler\\\\CrawlStrategy\\\\SubProcessExecutionStrategy\\:\\:executeShellCommand\\(\\) should return string\\|null but returns string\\|false\\|null\\.$#"
count: 1
path: Classes/CrawlStrategy/SubProcessExecutionStrategy.php
-
message: """
#^Call to deprecated method getExpressionBuilder\\(\\) of class TYPO3\\\\CMS\\\\Core\\\\Database\\\\Connection\\:
Use \\{@see createExpressionBuilder\\(\\)\\} instead\\.$#
"""
count: 1
path: Classes/Domain/Repository/QueueRepository.php
-
message: "#^Function getQueueEntriesForPageId\\(\\) has an unused variable \\$query\\.$#"
count: 1
path: Classes/Domain/Repository/QueueRepository.php
-
message: "#^Method AOE\\\\Crawler\\\\Event\\\\ModifySkipPageEvent\\:\\:isSkipped\\(\\) should return string\\|false but returns bool\\|string\\.$#"
count: 1
path: Classes/Event/ModifySkipPageEvent.php
-
message: "#^There is no request attribute \"tx_crawler\" configured so we can't figure out the exact type to return when calling Psr\\\\Http\\\\Message\\\\ServerRequestInterface\\:\\:getAttribute$#"
count: 1
path: Classes/Middleware/CrawlerInitialization.php
-
message: "#^Cannot access offset 'alturl' on array\\|bool\\.$#"
count: 1
path: Classes/Service/BackendModuleLogService.php
-
message: "#^Cannot access offset 'procInstructions' on array\\|bool\\.$#"
count: 1
path: Classes/Service/BackendModuleLogService.php
-
message: "#^Class Error should be written with \\:\\:class notation, string found\\.$#"
count: 1
path: Classes/Service/BackendModuleLogService.php
-
message: "#^Method AOE\\\\Crawler\\\\Service\\\\BackendModuleLogService\\:\\:addRows\\(\\) should return non\\-empty\\-array\\<int, array\\{titleRowSpan\\: int\\<1, max\\>, colSpan\\: int, title\\: string, noEntries\\?\\: string, trClass\\?\\: string, qid\\?\\: array\\{link\\: TYPO3\\\\CMS\\\\Core\\\\Http\\\\Uri, link\\-text\\: string\\}, refresh\\?\\: array\\{link\\: TYPO3\\\\CMS\\\\Core\\\\Http\\\\Uri, link\\-text\\: TYPO3\\\\CMS\\\\Core\\\\Imaging\\\\Icon, warning\\: string\\|TYPO3\\\\CMS\\\\Core\\\\Imaging\\\\Icon\\}, columns\\?\\: array\\{url\\: mixed, scheduled\\: string, exec_time\\: string, result_log\\: string, result_status\\: string, feUserGroupList\\: string, procInstructions\\: string, set_id\\: string, \\.\\.\\.\\}\\}\\> but returns array\\{non\\-empty\\-array\\<int\\<0, max\\>, array\\>, array\\}\\.$#"
count: 1
path: Classes/Service/BackendModuleLogService.php
-
message: "#^Parameter \\#1 \\$resultData of static method AOE\\\\Crawler\\\\Controller\\\\Backend\\\\Helper\\\\ResultHandler\\:\\:getResFeVars\\(\\) expects array, array\\|true given\\.$#"
count: 1
path: Classes/Service/BackendModuleLogService.php
-
message: "#^There is no request attribute \"route\" configured so we can't figure out the exact type to return when calling Psr\\\\Http\\\\Message\\\\ServerRequestInterface\\:\\:getAttribute$#"
count: 1
path: Classes/Service/BackendModuleScriptUrlService.php
-
message: "#^Class cognitive complexity is 87, keep it under 35$#"
count: 1
path: Classes/Service/ConfigurationService.php
-
message: "#^Offset 'usergroup_cached…' does not exist on array\\|null\\.$#"
count: 1
path: Classes/Service/ConfigurationService.php
-
message: "#^Function getUrlFromPageAndQueryParameters\\(\\) has an unused variable \\$siteLanguage\\.$#"
count: 1
path: Classes/Service/UrlService.php
-
message: "#^Parameter \\#1 \\$row of static method TYPO3\\\\CMS\\\\Core\\\\Utility\\\\CsvUtility\\:\\:csvValues\\(\\) expects array\\<string\\>, array\\<int, int\\|string\\> given\\.$#"
count: 1
path: Classes/Writer/FileWriter/CsvWriter/CrawlerCsvWriter.php