-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpstan.neon.dist
30 lines (30 loc) · 894 Bytes
/
phpstan.neon.dist
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
parameters:
level: 9
usePathConstantsAsConstantString: true
paths:
- campi-moduli-italiani.php
- settings.php
- admin
- includes
- integrations
- modules
scanFiles:
- campi-moduli-italiani.php
scanDirectories:
- vendor
- ../contact-form-7
- ../flamingo
- ../wpforms-lite
bootstrapFiles:
- campi-moduli-italiani.php
ignoreErrors:
-
message: '#Method [a-zA-Z0-9\\_]+::[a-zA-Z0-9\\_]+\(\) has parameter \$[a-zA-Z0-9\\_]+ with no value type specified in iterable type array.#'
path: modules/comune/class-gcmi-wpforms-field-comune.php
-
message: '#Method [a-zA-Z0-9\\_]+::[a-zA-Z0-9\\_]+\(\) return type has no value type specified in iterable type array.#'
path: modules/comune/class-gcmi-wpforms-field-comune.php
- '#Constant WPFORMS_PLUGIN_URL not found.#'
- '#Constant DB_CHARSET not found.#'
dynamicConstantNames:
- DB_CHARSET