-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpstan.neon
executable file
·24 lines (24 loc) · 1.02 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
parameters:
level: 5
reportUnmatchedIgnoredErrors: false
paths:
- web/app/themes/adeliom
excludePaths:
- node_modules
- vendor
- web/app/themes/adeliom/node_modules
scanDirectories:
- web/app
- web/wp
- config
ignoreErrors:
- '#Call to an undefined static method Rareloop\\Lumberjack\\Facades\\(.*)::\.*#'
- '#Call to an undefined static method Adeliom\\WP\\Extensions\\Facades\\(.*)::\.*#'
- '#Access to an undefined property Rareloop\\Lumberjack\\(.*)::\$.*#'
- '#Access to an undefined property App\\Providers\\(.*)::\$.*#'
- '#Constant WP_(.*) not found.#'
- '#Function __ invoked with (.*) parameter, 0 required.#'
- '#Function add_filter invoked with (.*) parameters, 0 required.#'
- '#Function apply_filters invoked with (.*) parameters, 0 required.#'
- '#Function route invoked with (.*) parameter, 0 required.#'
- '#Function view invoked with (.*) parameters, 0 required.#'