-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathphpstan.neon
More file actions
30 lines (30 loc) · 1.22 KB
/
phpstan.neon
File metadata and controls
30 lines (30 loc) · 1.22 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
parameters:
level: 6
paths:
- %currentWorkingDirectory%/inc
- %currentWorkingDirectory%/plugins/otter-pro
- %currentWorkingDirectory%/plugins/blocks-css/blocks-css.php
- %currentWorkingDirectory%/plugins/blocks-export-import/blocks-export-import.php
- %currentWorkingDirectory%/plugins/blocks-animation/blocks-animation.php
scanDirectories:
- %currentWorkingDirectory%/vendor/stripe/stripe-php
bootstrapFiles:
- %currentWorkingDirectory%/vendor/php-stubs/wordpress-stubs/wordpress-stubs.php
- %currentWorkingDirectory%/vendor/php-stubs/woocommerce-stubs/woocommerce-stubs.php
- %currentWorkingDirectory%/vendor/php-stubs/acf-pro-stubs/acf-pro-stubs.php
- %currentWorkingDirectory%/vendor/wptt/webfont-loader/wptt-webfont-loader.php
- %currentWorkingDirectory%/tests/php/static-analysis-stubs/otter.php
- %currentWorkingDirectory%/tests/php/static-analysis-stubs/learndash.php
dynamicConstantNames:
- COOKIEPATH
- COOKIE_DOMAIN
- OTTER_BLOCKS_PRO_SUPPORT
- OTTER_BLOCKS_SHOW_NOTICES
ignoreErrors:
-
identifiers:
- include.fileNotFound
- requireOnce.fileNotFound
includes:
- %currentWorkingDirectory%/vendor/szepeviktor/phpstan-wordpress/extension.neon
- %currentWorkingDirectory%/phpstan-baseline.neon