From 04da2e52c7f194dd07b0c35dc9fd476f73b7ce7a Mon Sep 17 00:00:00 2001 From: Vidar Langseid Date: Thu, 21 Nov 2024 13:39:19 +0100 Subject: [PATCH] Renamed phpstan.neon.dist to phpstan.neon and added error in PreviewController to it --- phpstan.neon.dist => phpstan.neon | 4 ++++ 1 file changed, 4 insertions(+) rename phpstan.neon.dist => phpstan.neon (77%) diff --git a/phpstan.neon.dist b/phpstan.neon similarity index 77% rename from phpstan.neon.dist rename to phpstan.neon index a8e4451c5c..b118366129 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon @@ -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