diff --git a/phpstan.neon.dist b/phpstan.neon.dist index a8e4451c5c..b118366129 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -13,6 +13,10 @@ parameters: paths: - src/* - tests/* + - + message: "#^Cannot call method warning\\(\\) on Psr\\\\Log\\\\LoggerInterface\\|null\\.$#" + count: 3 + path: src/lib/MVC/Symfony/Controller/Content/PreviewController.php paths: - src - tests