-
-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
28 lines (28 loc) · 827 Bytes
/
phpstan.neon.dist
File metadata and controls
28 lines (28 loc) · 827 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
includes:
- vendor/szepeviktor/phpstan-wordpress/extension.neon
- vendor/johnbillion/plugin-infrastructure/phpstan/extension.neon
- vendor/johnbillion/wp-compat/extension.neon
parameters:
level: 8
paths:
- wp-crontrol.php
- src/
- tests/acceptance/
- tests/integration/
scanDirectories:
- vendor/wp-phpunit/wp-phpunit/includes/
excludePaths:
analyseAndScan:
- vendor/yoast/wp-test-utils/src/BrainMonkey/bootstrap.php
bootstrapFiles:
- tests/phpstan/stubs.php
dynamicConstantNames:
- CRONTROL_DISALLOW_PHP_EVENTS
- CRONTROL_DISALLOW_URL_EVENTS
- DISABLE_WP_CRON
checkMissingOverrideMethodAttribute: true
WPCompat:
pluginFile: wp-crontrol.php
ignoreErrors:
-
message: '#^Call to function method_exists\(\) with ''\\\\QM_Util'' and ''populate_callback'' will always evaluate to true\.$#'