-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
19 lines (19 loc) · 900 Bytes
/
phpstan.neon
File metadata and controls
19 lines (19 loc) · 900 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
includes:
- vendor/szepeviktor/phpstan-wordpress/extension.neon
parameters:
level: 8
paths:
- classes/
bootstrapFiles:
- autoload.php
scanFiles:
- tests/static-analysis/stubs/wordpress.php
- tests/static-analysis/stubs/wp-cli.php
- vendor/php-stubs/wp-cli-stubs/wp-cli-stubs.php
- vendor/php-stubs/wp-cli-stubs/wp-cli-tools-stubs.php
ignoreErrors:
# These errors should be fixed with release of WP-CLI 2.13:
- '#^Parameter \#1 \$url of method BlueChip\\Cache\\Cli::erase\(\) expects string, string\|false given\.#'
- '#Parameter \#2 \$array of function array_map expects array, array<BlueChip\\Cache\\ListTableItem>\|null given\.#'
- '#Cannot call method (synchronize|getSize)\(\) on BlueChip\\Cache\\Feeder\|null\.#'
- '#Cannot call method step\(\) on BlueChip\\Cache\\Crawler\|null\.#'