2020-02-24 01:08:34 +10:30
|
|
|
includes:
|
|
|
|
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
|
|
|
|
- vendor/thecodingmachine/phpstan-strict-rules/phpstan-strict-rules.neon
|
|
|
|
- vendor/szepeviktor/phpstan-wordpress/extension.neon
|
|
|
|
parameters:
|
|
|
|
level: max
|
2021-01-15 12:18:38 +10:00
|
|
|
phpVersion: 80000
|
2020-02-24 01:08:34 +10:30
|
|
|
inferPrivatePropertyTypeFromConstructor: true
|
|
|
|
paths:
|
|
|
|
- %currentWorkingDirectory%/src/
|
2021-01-15 12:18:38 +10:00
|
|
|
- %currentWorkingDirectory%/views/
|
2020-11-28 15:21:03 +10:30
|
|
|
- %currentWorkingDirectory%/wp2static-addon-netlify.php
|
2020-09-28 06:51:14 +09:30
|
|
|
scanFiles:
|
2020-02-24 01:08:34 +10:30
|
|
|
- %currentWorkingDirectory%/tests/phpstan/bootstrap.php
|
|
|
|
- %currentWorkingDirectory%/tests/phpstan/wp-cli-stubs-2.2.0.php
|
|
|
|
ignoreErrors:
|
|
|
|
- '#[a-zA-Z0-9\\_]+superglobal[a-zA-Z0-9\\_]+#'
|
2020-02-24 01:38:26 +10:30
|
|
|
- '#Call to static method l\(\) on an unknown class WP2Static\\WsLog.#'
|
|
|
|
- '#Call to static method getUrl\(\) on an unknown class WP2Static\\SiteInfo.#'
|
|
|
|
- '#Call to static method getPath\(\) on an unknown class WP2Static\\SiteInfo.#'
|
2020-09-28 06:51:14 +09:30
|
|
|
- '#Call to static method encrypt_decrypt\(\) on an unknown class WP2Static\\CoreOptions.#'
|