This repository has been archived by the owner on Dec 19, 2023. It is now read-only.
forked from Dolibarr/dolibarr
-
Notifications
You must be signed in to change notification settings - Fork 19
/
phpstan.neon
247 lines (247 loc) · 11.1 KB
/
phpstan.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
parameters:
bootstrap: %currentWorkingDirectory%/build/phpstan/bootstrap.php
excludes_analyse:
- %currentWorkingDirectory%/htdocs/includes/restler/framework/Luracast/Restler/AutoLoader.php
- %currentWorkingDirectory%/htdocs/includes/*
- %currentWorkingDirectory%/htdocs/*/class/api_*
- %currentWorkingDirectory%/htdocs/*/canvas/*/tpl/*.tpl.php
autoload_directories:
- %currentWorkingDirectory%/htdocs/accountancy/class
- %currentWorkingDirectory%/htdocs/adherents/class
- %currentWorkingDirectory%/htdocs/api/class
- %currentWorkingDirectory%/htdocs/asset/class
- %currentWorkingDirectory%/htdocs/blockedlog/class
- %currentWorkingDirectory%/htdocs/bom/class
- %currentWorkingDirectory%/htdocs/bookmarks/class
- %currentWorkingDirectory%/htdocs/cashdesk/class
- %currentWorkingDirectory%/htdocs/categories/class
- %currentWorkingDirectory%/htdocs/comm/action/class
- %currentWorkingDirectory%/htdocs/comm/propal/class
- %currentWorkingDirectory%/htdocs/commande/class
- %currentWorkingDirectory%/htdocs/compta/bank/class
- %currentWorkingDirectory%/htdocs/compta/cashcontrol/class
- %currentWorkingDirectory%/htdocs/compta/deplacement/class
- %currentWorkingDirectory%/htdocs/compta/facture/class
- %currentWorkingDirectory%/htdocs/compta/localtax/class
- %currentWorkingDirectory%/htdocs/compta/paiement/class
- %currentWorkingDirectory%/htdocs/compta/prelevement/class
- %currentWorkingDirectory%/htdocs/compta/sociales/class
- %currentWorkingDirectory%/htdocs/compta/tva/class
- %currentWorkingDirectory%/htdocs/conf
- %currentWorkingDirectory%/htdocs/contact/class
- %currentWorkingDirectory%/htdocs/contrat/class
- %currentWorkingDirectory%/htdocs/core/class
- %currentWorkingDirectory%/htdocs/core/lib
- %currentWorkingDirectory%/htdocs/core/triggers
- %currentWorkingDirectory%/htdocs/core/modules/bank
- %currentWorkingDirectory%/htdocs/core/modules/bom
- %currentWorkingDirectory%/htdocs/core/modules/commande
- %currentWorkingDirectory%/htdocs/core/modules/expedition
#- %currentWorkingDirectory%/htdocs/core/modules/expensereport
- %currentWorkingDirectory%/htdocs/core/modules/facture
- %currentWorkingDirectory%/htdocs/core/modules/fichinter
- %currentWorkingDirectory%/htdocs/core/modules/holiday
- %currentWorkingDirectory%/htdocs/core/modules/livraison
#- %currentWorkingDirectory%/htdocs/core/modules/member
- %currentWorkingDirectory%/htdocs/core/modules/payment
- %currentWorkingDirectory%/htdocs/core/modules/product
- %currentWorkingDirectory%/htdocs/core/modules/propale
- %currentWorkingDirectory%/htdocs/core/modules/reception
#- %currentWorkingDirectory%/htdocs/core/modules/stock
- %currentWorkingDirectory%/htdocs/core/modules/supplier_invoice
- %currentWorkingDirectory%/htdocs/core/modules/supplier_order
#- %currentWorkingDirectory%/htdocs/core/modules/supplier_payment
- %currentWorkingDirectory%/htdocs/core/modules/supplier_proposal
- %currentWorkingDirectory%/htdocs/cron/class
- %currentWorkingDirectory%/htdocs/datapolicy/class
- %currentWorkingDirectory%/htdocs/debugbar/class
- %currentWorkingDirectory%/htdocs/don/class
- %currentWorkingDirectory%/htdocs/ecm/class
- %currentWorkingDirectory%/htdocs/emailcollector/class
- %currentWorkingDirectory%/htdocs/expedition/class
- %currentWorkingDirectory%/htdocs/expensereport/class
- %currentWorkingDirectory%/htdocs/exports/class
- %currentWorkingDirectory%/htdocs/fichinter/class
- %currentWorkingDirectory%/htdocs/fourn/class
- %currentWorkingDirectory%/htdocs/holiday/class
- %currentWorkingDirectory%/htdocs/hrm/class
- %currentWorkingDirectory%/htdocs/imports/class
- %currentWorkingDirectory%/htdocs/livraison/class
- %currentWorkingDirectory%/htdocs/loan/class
- %currentWorkingDirectory%/htdocs/mailmanspip/class
- %currentWorkingDirectory%/htdocs/multicurrency/class
- %currentWorkingDirectory%/htdocs/opensurvey/class
- %currentWorkingDirectory%/htdocs/product/class
- %currentWorkingDirectory%/htdocs/projet/class
- %currentWorkingDirectory%/htdocs/reception/class
- %currentWorkingDirectory%/htdocs/resource/class
- %currentWorkingDirectory%/htdocs/salaries/class
- %currentWorkingDirectory%/htdocs/societe/class
- %currentWorkingDirectory%/htdocs/stripe/class
- %currentWorkingDirectory%/htdocs/supplier_proposal/class
- %currentWorkingDirectory%/htdocs/ticket/class
- %currentWorkingDirectory%/htdocs/user/class
- %currentWorkingDirectory%/htdocs/variants/class
- %currentWorkingDirectory%/htdocs/website/class
autoload_files:
- %currentWorkingDirectory%/build/phpstan/bootstrap.php
- %currentWorkingDirectory%/htdocs/core/lib/accounting.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/admin.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/agenda.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/ajax.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/asset.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/bank.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/barcode.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/categories.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/company.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/contact.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/contract.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/cron.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/date.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/doc.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/doleditor.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/donation.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/ecm.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/emailing.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/expedition.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/expensereport.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/fichinter.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/files.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/fiscalyear.lib.php
#- %currentWorkingDirectory%/htdocs/core/lib/format_cards.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/fourn.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/functions.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/functions2.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/geturl.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/holiday.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/hrm.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/images.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/import.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/invoice.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/invoice2.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/json.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/ldap.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/loan.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/mailmanspip.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/member.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/memory.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/modulebuilder.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/multicurrency.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/oauth.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/order.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/parsemd.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/payments.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/pdf.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/prelevement.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/price.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/product.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/project.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/propal.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/reception.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/report.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/resource.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/salaries.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/security.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/security2.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/sendings.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/signature.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/stock.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/supplier_proposal.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/takepos.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/tax.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/ticket.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/treeview.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/trip.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/usergroups.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/vat.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/website.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/ws.lib.php
- %currentWorkingDirectory%/htdocs/core/lib/xcal.lib.php
featureToggles:
subtractableTypes: false
validateParameters: false
fileExtensions:
- php
checkAlwaysTrueCheckTypeFunctionCall: false
checkAlwaysTrueInstanceof: false
checkAlwaysTrueStrictComparison: false
checkClassCaseSensitivity: false
checkFunctionArgumentTypes: false
checkFunctionNameCase: false
checkArgumentsPassedByReference: false
checkMaybeUndefinedVariables: false
checkNullables: false
checkThisOnly: true
checkUnionTypes: false
checkExplicitMixedMissingReturn: false
checkPhpDocMissingReturn: false
reportMaybes: false
reportMaybesInMethodSignatures: false
reportStaticMethodSignatures: false
polluteScopeWithLoopInitialAssignments: true
polluteScopeWithAlwaysIterableForeach: true
polluteCatchScopeWithTryAssignments: false
reportMagicMethods: false
reportMagicProperties: false
ignoreErrors:
- '#Undefined variable: \$langs#'
- '#Undefined variable: \$user#'
- '#Undefined variable: \$db#'
- '#Undefined variable: \$conf#'
- '#Undefined variable: \$hookmanager#'
- '#Undefined variable: \$mysoc#'
- '#Undefined variable: \$error#'
- '#Undefined variable: \$errors#'
- '#Undefined variable: \$form#'
- message: '#Undefined variable: \$object#'
path: %currentWorkingDirectory%/htdocs/societe/tpl
internalErrorsCountLimit: 50
cache:
nodesByFileCountMax: 512
nodesByStringCountMax: 512
reportUnmatchedIgnoredErrors: true
scopeClass: PHPStan\Analyser\Scope
universalObjectCratesClasses:
- stdClass
- SimpleXMLElement
earlyTerminatingMethodCalls: []
memoryLimitFile: %tmpDir%/.memory_limit
benchmarkFile: null
dynamicConstantNames:
- ICONV_IMPL
- PHP_VERSION
- PHP_MAJOR_VERSION
- PHP_MINOR_VERSION
- PHP_RELEASE_VERSION
- PHP_VERSION_ID
- PHP_EXTRA_VERSION
- PHP_ZTS
- PHP_DEBUG
- PHP_MAXPATHLEN
- PHP_OS
- PHP_OS_FAMILY
- PHP_SAPI
- PHP_EOL
- PHP_INT_MAX
- PHP_INT_MIN
- PHP_INT_SIZE
- PHP_FLOAT_DIG
- PHP_FLOAT_EPSILON
- PHP_FLOAT_MIN
- PHP_FLOAT_MAX
- DEFAULT_INCLUDE_PATH
- PEAR_INSTALL_DIR
- PEAR_EXTENSION_DIR
- PHP_EXTENSION_DIR
- PHP_PREFIX
- PHP_BINDIR
- PHP_BINARY
- PHP_MANDIR
- PHP_LIBDIR
- PHP_DATADIR
- PHP_SYSCONFDIR
- PHP_LOCALSTATEDIR
- PHP_CONFIG_FILE_PATH
- PHP_CONFIG_FILE_SCAN_DIR
- PHP_SHLIB_SUFFIX
- PHP_FD_SETSIZE