-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpstan.neon
More file actions
29 lines (29 loc) · 906 Bytes
/
phpstan.neon
File metadata and controls
29 lines (29 loc) · 906 Bytes
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
includes:
- vendor/szepeviktor/phpstan-wordpress/extension.neon
parameters:
level: 6
paths:
- modules
- utils
- tests
- vip-agentforce.php
excludePaths:
- %rootDir%/../../../tests/e2e
- %rootDir%/../../../tests/class-wp-cli-mock.php
scanDirectories:
- mu-plugins
scanFiles:
- %rootDir%/../../php-stubs/wordpress-stubs/wordpress-stubs.php
- %rootDir%/../../php-stubs/wordpress-tests-stubs/wordpress-tests-stubs.php
- %rootDir%/../../php-stubs/wp-cli-stubs/wp-cli-stubs.php
- %rootDir%/../../php-stubs/wp-cli-stubs/wp-cli-commands-stubs.php
- %rootDir%/../../php-stubs/wp-cli-stubs/wp-cli-i18n-stubs.php
dynamicConstantNames:
- VIP_GO_APP_ENVIRONMENT
- VIP_GO_APP_ID
- VIP_AGENTFORCE_CONFIGS
treatPhpDocTypesAsCertain: false
ignoreErrors:
- identifier: missingType.return
paths:
- %currentWorkingDirectory%/tests