-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon.dist
26 lines (26 loc) · 1.03 KB
/
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
parameters:
phpVersion: 80000
level: 1
bootstrapFiles:
- wp-content/plugins/gpxadmin/class-aliases.php
paths:
- wp-content/plugins/gpxadmin
- wp-content/themes/gpx_new
excludePaths:
- wp-content/plugins/gpxadmin/dashboard/vendors
- wp-content/plugins/gpxadmin/dashboard/libraries
- wp-content/plugins/gpxadmin/api/lib
scanDirectories:
- ./
- wp-content/plugins/gpxadmin/dashboard/vendors
- wp-content/plugins/gpxadmin/dashboard/libraries
- wp-content/plugins/gpxadmin/api/lib
ignoreErrors:
- '#Undefined variable: \$[a-zA-Z0-9\\_]+#'
- '#Instantiated class SforcePartnerClient not found\.#'
- '#Instantiated class SingleEmailMessage not found\.#'
- '#Function __ invoked with \d+ parameters, 0 required\.#'
- '#Function [a-zA-Z0-9\_]+ invoked with \d+ parameters?, \d+ required\.#'
- '#Constant GPXADMIN_DIR not found\.#'
includes:
- vendor/szepeviktor/phpstan-wordpress/extension.neon