-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.dist.neon
More file actions
32 lines (32 loc) · 1.05 KB
/
phpstan.dist.neon
File metadata and controls
32 lines (32 loc) · 1.05 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
parameters:
level: 5
treatPhpDocTypesAsCertain: false
dynamicConstantNames:
- E20R_LICENSING_VERSION
- E20R_LICENSE_SERVER_URL
- E20R_LICENSING_DEBUG
- E20R_MISSING_SETTING
- E20R_ML_BASE_DIR
- WP_PLUGIN_DIR
- WP_LANG_DIR
parallel:
maximumNumberOfProcesses: 2
ignoreErrors:
# Uses func_get_args()
- '#^Function apply_filters(_ref_array)? invoked with [34567] parameters, 2 required\.$#'
- '#^Constant WP_LANG_DIR not found\.$#'
- '#^Cannot access property \$pmpro_b.* on WP_User\|false\.#'
- '#^Parameter \#1 \$page_name of function pmpro_loadTemplate expects null, string given\.#'
- '#Cannot access property \$name on object\|false\.#'
# - '#^Access to an undefined property object::\$cycle_period\.$#'
# - '#^Constant WP_PLUGIN_DIR not found\.$#'
scanDirectories:
- inc/
paths:
- class-e20r-members-list.php
- src/
bootstrapFiles:
- class-e20r-members-list.php
excludePaths:
- tests/
- *.js