-
-
Notifications
You must be signed in to change notification settings - Fork 74
Expand file tree
/
Copy pathphpstan.neon
More file actions
24 lines (24 loc) Β· 685 Bytes
/
Copy pathphpstan.neon
File metadata and controls
24 lines (24 loc) Β· 685 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
parameters:
paths:
- index.php
- uninstall.php
- dropins/
- inc/
- loggers/
- templates/
scanFiles:
- vendor/php-stubs/wp-cli-stubs/wp-cli-stubs.php
scanDirectories:
- tests/plugins/
bootstrapFiles:
- tests/phpstan/bootstrap.php
# phpVersion: 80500 β disabled due to phpstan 2.1.44 bug with enum case resolution in PHP 8 signature maps.
# Re-enable when fixed upstream: https://github.com/phpstan/phpstan/issues
level: 3
ignoreErrors:
# - '#Access to an undefined property object::\$context_message_key.#'
WPCompat:
pluginFile: index.php
requiresAtLeast: '6.3'
includes:
- phar://phpstan.phar/conf/bleedingEdge.neon