Fix PHPStan paths

[MAILPOET-2588]
This commit is contained in:
Jan Jakeš
2019-12-19 13:38:54 +01:00
parent 3b52fbabc7
commit e03a0d65a5
4 changed files with 61 additions and 63 deletions

View File

@@ -1,10 +1,9 @@
parameters:
mailpoetDir: %rootDir%/../../../../..
tmpDir: ../../temp/phpstan
bootstrap: bootstrap.php
inferPrivatePropertyTypeFromConstructor: true
autoload_files:
- %mailpoetDir%/vendor/autoload.php
- ../../vendor/autoload.php
ignoreErrors:
- '#Function members_register_.+ not found#'
- '#Cannot assign offset .path. to array<string, int|string>|false.#' # bug https://github.com/phpstan/phpstan/issues/1791