forked from google/site-kit-wp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
27 lines (26 loc) · 1.09 KB
/
Copy pathphpstan.neon.dist
File metadata and controls
27 lines (26 loc) · 1.09 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
includes:
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
- vendor/szepeviktor/phpstan-wordpress/extension.neon
- tests/phpstan/phpstan-baseline.neon
parameters:
level: 3
treatPhpDocTypesAsCertain: false
inferPrivatePropertyTypeFromConstructor: true
paths:
- %currentWorkingDirectory%/google-site-kit.php
- %currentWorkingDirectory%/includes/
bootstrapFiles:
- %currentWorkingDirectory%/google-site-kit.php
- %currentWorkingDirectory%/vendor/php-stubs/woocommerce-stubs/woocommerce-stubs.php
- %currentWorkingDirectory%/vendor/php-stubs/wp-cli-stubs/wp-cli-stubs.php
ignoreErrors:
-
identifier: include.fileNotFound
message: '#^Path in include\(\) "dist/config\.php" is not a file or it does not exist\.$#'
path: includes/Plugin.php
reportUnmatched: false
- '#property.*Google\\Site_Kit_Dependencies\\Google\\Service.*#'
scanDirectories:
- %currentWorkingDirectory%/gtg
- %currentWorkingDirectory%/third-party
- %currentWorkingDirectory%/tests/phpstan