Files
piratepoet/tasks/phpstan/phpstan.neon
Jan Jakeš 078223cd64 Fix path usage in PHPStan setup
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00

17 lines
795 B
Plaintext

parameters:
mailpoetDir: %rootDir%/../../../../..
tmpDir: ../../temp/phpstan
bootstrap: bootstrap.php
autoload_files:
- %mailpoetDir%/vendor/autoload.php
ignoreErrors:
- '#Function members_register_.+ not found#'
- '#MailPoet\\Premium\\DI\\ContainerConfigurator not found#' # this class is not available when premium is not active
- '#Call to an undefined method IdiormResultSet::set()#'
- '#Argument of an invalid type pQuery\\IQuery supplied for foreach, only iterables are supported#'
- '#Parameter \#2 \$prefix of function http_build_query expects string, null given.#'
- '#Parameter \#1 \$function of function call_user_func_array expects callable(): mixed, .wc_.*. given.#'
reportUnmatchedIgnoredErrors: false
dynamicConstantNames:
- WP_DEBUG