Fix "Access to undefined property" rule violations

This commit is contained in:
Tautvidas Sipavičius
2019-01-23 11:33:47 +02:00
parent b2bb7b0023
commit 9f13f68e39
25 changed files with 75 additions and 8 deletions

View File

@ -2,8 +2,6 @@ parameters:
tmpDir: ../../temp/phpstan
bootstrap: bootstrap.php
ignoreErrors:
- '#Access to an undefined property#' # current code suffers from this, it should be fixed & this line removed
- '#Static call to instance method MailPoet\\Models\\Model::#'
- '#Access to an undefined static property MailPoet\\Models\\Model::#'
- '#Function members_register_.+ not found#'
- '#MailPoet\\Premium\\DI\\ContainerConfigurator not found#' # this class is not available when premium is not active