Repository navigation
Expand file tree
/
Copy pathphpstan.baseline.neon
More file actions
258 lines (217 loc) · 9.74 KB
/
Copy pathphpstan.baseline.neon
File metadata and controls
258 lines (217 loc) · 9.74 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
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
parameters:
ignoreErrors:
-
message: '#^Parameter \#3 \$value of function curl_setopt expects bool, int given\.$#'
identifier: argument.type
count: 2
path: admin/setup.php
-
message: '#^Property Shortener\:\:\$type \(string\|null\) does not accept int\.$#'
identifier: assign.propertyType
count: 1
path: class/actions_easyurl.class.php
-
message: '#^Variable \$output might not be defined\.$#'
identifier: variable.undefined
count: 1
path: class/actions_easyurl.class.php
-
message: '#^Method ExportShortenerDocument\:\:generateFile\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: class/exportshortenerdocument.class.php
-
message: '#^PHPDoc type array of property Shortener\:\:\$fields is not covariant with PHPDoc type array\<string, array\{type\: string, label\: string, langfile\?\: string, enabled\: int\<0, 2\>\|string, position\: int, notnull\?\: int, visible\: int\<\-6, 6\>\|string, alwayseditable\?\: int\<0, 1\>\|string, \.\.\.\}\> of overridden property CommonObject\:\:\$fields\.$#'
identifier: property.phpDocType
count: 1
path: class/shortener.class.php
-
message: '#^PHPDoc type int of property Shortener\:\:\$isextrafieldmanaged is not covariant with PHPDoc type int\<0, 1\> of overridden property SaturneObject\:\:\$isextrafieldmanaged\.$#'
identifier: property.phpDocType
count: 1
path: class/shortener.class.php
-
message: '#^PHPDoc type int of property Shortener\:\:\$ismultientitymanaged is not covariant with PHPDoc type int\<0, 1\>\|string of overridden property SaturneObject\:\:\$ismultientitymanaged\.$#'
identifier: property.phpDocType
count: 1
path: class/shortener.class.php
-
message: '#^PHPDoc type int\|string of property Shortener\:\:\$date_creation is not covariant with PHPDoc type ''''\|int\|null of overridden property CommonObject\:\:\$date_creation\.$#'
identifier: property.phpDocType
count: 1
path: class/shortener.class.php
-
message: '#^PHPDoc type int\|string of property Shortener\:\:\$tms is not covariant with PHPDoc type int of overridden property CommonObject\:\:\$tms\.$#'
identifier: property.phpDocType
count: 1
path: class/shortener.class.php
-
message: '#^Parameter \#10 \$alwayseditable of method ExtraFields\:\:update\(\) expects int\<0, 1\>, '''' given\.$#'
identifier: argument.type
count: 6
path: core/modules/modEasyURL.class.php
-
message: '#^Parameter \#11 \$alwayseditable of method ExtraFields\:\:addExtraField\(\) expects int\<0, 1\>, '''' given\.$#'
identifier: argument.type
count: 6
path: core/modules/modEasyURL.class.php
-
message: '#^Parameter \#12 \$list of method ExtraFields\:\:update\(\) expects string, int given\.$#'
identifier: argument.type
count: 6
path: core/modules/modEasyURL.class.php
-
message: '#^Parameter \#13 \$list of method ExtraFields\:\:addExtraField\(\) expects string, int given\.$#'
identifier: argument.type
count: 6
path: core/modules/modEasyURL.class.php
-
message: '#^Parameter \#16 \$entity of method ExtraFields\:\:addExtraField\(\) expects string, int given\.$#'
identifier: argument.type
count: 6
path: core/modules/modEasyURL.class.php
-
message: '#^Parameter \#16 \$entity of method ExtraFields\:\:update\(\) expects string, int given\.$#'
identifier: argument.type
count: 6
path: core/modules/modEasyURL.class.php
-
message: '#^Parameter \#8 \$pos of method ExtraFields\:\:update\(\) expects int\<0, 1\>, 2000 given\.$#'
identifier: argument.type
count: 5
path: core/modules/modEasyURL.class.php
-
message: '#^Parameter \#8 \$pos of method ExtraFields\:\:update\(\) expects int\<0, 1\>, 2100 given\.$#'
identifier: argument.type
count: 1
path: core/modules/modEasyURL.class.php
-
message: '#^Parameter \#9 \$param of method ExtraFields\:\:update\(\) expects array\<string, mixed\>, string given\.$#'
identifier: argument.type
count: 6
path: core/modules/modEasyURL.class.php
-
message: '#^Access to undefined constant CommonObject\:\:STATUS_VALIDATED\.$#'
identifier: classConstant.notFound
count: 1
path: lib/easyurl_function.lib.php
-
message: '#^Parameter \#3 \$value of function curl_setopt expects bool, int given\.$#'
identifier: argument.type
count: 2
path: lib/easyurl_function.lib.php
-
message: '#^Variable \$conf might not be defined\.$#'
identifier: variable.undefined
count: 3
path: public/frontend/assign_qrcode_view.tpl.php
-
message: '#^Variable \$db might not be defined\.$#'
identifier: variable.undefined
count: 3
path: public/frontend/assign_qrcode_view.tpl.php
-
message: '#^Variable \$entity might not be defined\.$#'
identifier: variable.undefined
count: 1
path: public/frontend/assign_qrcode_view.tpl.php
-
message: '#^Variable \$langs might not be defined\.$#'
identifier: variable.undefined
count: 22
path: public/frontend/assign_qrcode_view.tpl.php
-
message: '#^Variable \$linkableElement might not be defined\.$#'
identifier: variable.undefined
count: 1
path: public/frontend/assign_qrcode_view.tpl.php
-
message: '#^Variable \$linkedObject might not be defined\.$#'
identifier: variable.undefined
count: 1
path: public/frontend/assign_qrcode_view.tpl.php
-
message: '#^Variable \$user might not be defined\.$#'
identifier: variable.undefined
count: 2
path: public/frontend/assign_qrcode_view.tpl.php
-
message: '#^Variable \$publicHeaderTitle might not be defined\.$#'
identifier: variable.undefined
count: 1
path: public/frontend/public_header.tpl.php
-
message: '#^Call to function is_object\(\) with object will always evaluate to true\.$#'
identifier: function.alreadyNarrowedType
count: 2
path: public/shortener/public_shortener.php
-
message: '#^Class Productlot referenced with incorrect case\: ProductLot\.$#'
identifier: class.nameCase
count: 2
path: public/shortener/public_shortener.php
-
message: '#^Property Shortener\:\:\$type \(string\|null\) does not accept int\.$#'
identifier: assign.propertyType
count: 1
path: public/shortener/public_shortener.php
-
message: '#^Parameter \#5 \$visible of function saturne_show_notice expects bool, int given\.$#'
identifier: argument.type
count: 1
path: view/easyurltools.php
-
message: '#^Parameter \#6 \$closeButton of function saturne_show_notice expects bool, int given\.$#'
identifier: argument.type
count: 1
path: view/easyurltools.php
-
message: '#^Parameter \#2 \$noTrigger of method SaturneObject\:\:update\(\) expects int\<0, 1\>, true given\.$#'
identifier: argument.type
count: 1
path: view/shortener/shortener_card.php
-
message: '#^Property Shortener\:\:\$fk_element \(int\|string\) does not accept null\.$#'
identifier: assign.propertyType
count: 1
path: view/shortener/shortener_card.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: view/shortener/shortener_card.php
-
message: '#^Parameter \#2 \$array of method Form\:\:multiSelectArrayWithCheckbox\(\) expects array\<string, array\{label\: string, checked\?\: string, enabled\?\: string, type\?\: string, langfile\?\: string, position\?\: int, help\?\: string\}\>, array\<non\-falsy\-string, array\{label\: mixed, checked\: 0\|1, enabled\: bool, position\: mixed, help\: mixed\}\> given\.$#'
identifier: argument.type
count: 1
path: view/shortener/shortener_list.php
-
message: '#^Parameter \#2 \$noTrigger of method SaturneObject\:\:update\(\) expects int\<0, 1\>, true given\.$#'
identifier: argument.type
count: 1
path: view/shortener/shortener_list.php
-
message: '#^Parameter \#3 \$value of method CommonObject\:\:showOutputField\(\) expects string, int given\.$#'
identifier: argument.type
count: 1
path: view/shortener/shortener_list.php
-
message: '#^Parameter \#4 \$filter of method FormAdmin\:\:select_language\(\) expects array\<string\>, null given\.$#'
identifier: argument.type
count: 1
path: view/shortener/shortener_list.php
-
message: '#^Right side of \|\| is always true\.$#'
identifier: booleanOr.rightAlwaysTrue
count: 1
path: view/shortener/shortener_list.php
-
message: '#^Property DolibarrModules\:\:\$dictionaries \(array\{\}\|array\{langs\: string, tabname\: array\<string\>, tablib\: array\<string\>, tabsql\: array\<string\>, tabsqlsort\: array\<string\>, tabfield\: array\<string\>, tabfieldvalue\: array\<string\>, tabfieldinsert\: array\<string\>, \.\.\.\}\) does not accept array\{langs\: ''easyurl@easyurl'', tabname\: array\{''llx_c_shortener_url…''\}, tablib\: array\{''ShortenerUrlType''\}, tabsql\: array\{''SELECT f\.rowid as…''\}, tabsqlsort\: array\{''position ASC''\}, tabfield\: array\{''ref,label…''\}, tabfieldvalue\: array\{''ref,label…''\}, tabfieldinsert\: array\{''ref,label…''\}, \.\.\.\}\.$#'
identifier: assign.propertyType
count: 1
path: core/modules/modEasyURL.class.php
-
message: '#^Property DolibarrModules\:\:\$menu \(1\|array\<array\{commentgroup\?\: string, mainmenu\: string, leftmenu\: string, langs\: string, enabled\: int\|string, target\: string, titre\: string, user\: int, \.\.\.\}\>\) does not accept non\-empty\-array\<array\{commentgroup\?\: string, mainmenu\: string, leftmenu\: string, langs\: string, enabled\: int\|string, target\: string, titre\: string, user\: int, \.\.\.\}\|array\{fk_menu\: ''fk_mainmenu\=easyurl'', type\: ''top'', titre\: mixed, prefix\: ''\<i class\="fas fa…'', mainmenu\: ''easyurl'', leftmenu\: '''', url\: ''/easyurl…'', langs\: ''easyurl@easyurl'', \.\.\.\}\>\.$#'
identifier: assign.propertyType
count: 1
path: core/modules/modEasyURL.class.php