diff --git a/tests/php/phpstan.dist.neon b/tests/php/phpstan.dist.neon index a7f0b52..8047cd5 100644 --- a/tests/php/phpstan.dist.neon +++ b/tests/php/phpstan.dist.neon @@ -6,10 +6,6 @@ parameters: - %currentWorkingDirectory%/kjblocks.php excludePaths: - %currentWorkingDirectory%/src/Grid/Position - ignoreErrors: - - - message: '#.*Doctrine\\Persistence\\Event\\LifecycleEventArgs but does not specify its types\: TObjectManager.*#' - path: %currentWorkingDirectory%/src/EventListener/BlockGroupHooksUpdater.php reportUnmatchedIgnoredErrors: true level: 8 diff --git a/tests/php/phpstan_8.0.0.dist.neon b/tests/php/phpstan_8.0.0.dist.neon index e453e10..3a60c64 100644 --- a/tests/php/phpstan_8.0.0.dist.neon +++ b/tests/php/phpstan_8.0.0.dist.neon @@ -3,6 +3,9 @@ parameters: - message: '#^Parameter \#1 \$configuration of class PrestaShop\\PrestaShop\\Core\\ConstraintValidator\\TypedRegexValidator constructor expects PrestaShop\\PrestaShop\\Core\\ConfigurationInterface, PrestaShop\\PrestaShop\\Core\\String\\CharacterCleaner given\.$#' path: %currentWorkingDirectory%/src/Constraint/ConstraintValidatorFactory.php + - + message: '#.*Doctrine\\Persistence\\Event\\LifecycleEventArgs but does not specify its types\: TObjectManager.*#' + path: %currentWorkingDirectory%/src/EventListener/BlockGroupHooksUpdater.php includes: - %currentWorkingDirectory%/tests/php/phpstan.dist.neon diff --git a/tests/php/phpstan_latest.dist.neon b/tests/php/phpstan_latest.dist.neon index e453e10..3a60c64 100644 --- a/tests/php/phpstan_latest.dist.neon +++ b/tests/php/phpstan_latest.dist.neon @@ -3,6 +3,9 @@ parameters: - message: '#^Parameter \#1 \$configuration of class PrestaShop\\PrestaShop\\Core\\ConstraintValidator\\TypedRegexValidator constructor expects PrestaShop\\PrestaShop\\Core\\ConfigurationInterface, PrestaShop\\PrestaShop\\Core\\String\\CharacterCleaner given\.$#' path: %currentWorkingDirectory%/src/Constraint/ConstraintValidatorFactory.php + - + message: '#.*Doctrine\\Persistence\\Event\\LifecycleEventArgs but does not specify its types\: TObjectManager.*#' + path: %currentWorkingDirectory%/src/EventListener/BlockGroupHooksUpdater.php includes: - %currentWorkingDirectory%/tests/php/phpstan.dist.neon