-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
50 lines (50 loc) · 1.32 KB
/
phpstan.neon.dist
File metadata and controls
50 lines (50 loc) · 1.32 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
includes:
# Uncomment for VSCode extension if it doesn't autodetect it.
# - vendor/szepeviktor/phpstan-wordpress/extension.neon
parameters:
level: 1
# Complexity metrics (uncomment to enable)
# complexity:
# maxComplexity: 10
paths:
- classes/
- includes/
- templates/
- bootstrap.php
- bootstrap.legacy.php
- popup-maker.php
scanDirectories:
- bin/
- classes/
- vendor-prefixed/
- includes/
- templates/
scanFiles:
- popup-maker.php
bootstrapFiles:
- bin/phpstan-bootstrap.php
stubFiles:
- bin/stubs/buddypress.php
- bin/stubs/easy-modal.php
- bin/stubs/elementor.php
- bin/stubs/integrated-plugins.php
- bin/stubs/query-monitor.php
- bin/stubs/woocommerce.php
- bin/stubs/bricks.php
excludePaths:
- tests/
- includes/modules/menus/class-nav-menu-edit-custom-fields-deprecated.php
dynamicConstantNames:
- 'IS_WPCOM'
- 'WP_CLI'
- 'POPMAKE'
- 'POPMAKE_NAME'
- 'POPMAKE_SLUG'
- 'POPMAKE_DIR'
- 'POPMAKE_URL'
- 'POPMAKE_NONCE'
- 'POPMAKE_VERSION'
- 'POPMAKE_DB_VERSION'
- 'POPMAKE_API_URL'
- 'DOING_AJAX'
ignoreErrors: