-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
20 lines (20 loc) · 738 Bytes
/
Copy pathphpstan.neon
File metadata and controls
20 lines (20 loc) · 738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
parameters:
level: 5
paths:
- .
excludePaths:
- vendor
- node_modules
- dist
- assets
treatPhpDocTypesAsCertain: false
ignoreErrors:
- '#Function buddypress not found\.#'
- '#Function bp_\w+ not found\.#'
- '#Constant BIRTHDAY_WIDGET_PLUGIN_(URL|PATH) not found\.#'
- '#has invalid type BP_XProfile_ProfileData\.#'
- '#has invalid type BP_Follow\.#'
- '#Action callback returns .+ but should not return anything\.#'
- '#Unreachable statement - code above always terminates\.#'
- '#is_wp_error\(.+\) will always evaluate to false\.#'
- '#Variable \$birthdays in empty\(\) always exists and is not falsy\.#'