From caade5e51bbbda1c13c344054689e80a93f5a4f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Robles?= Date: Thu, 16 Mar 2023 11:50:03 +0100 Subject: [PATCH] ignore unsafe static instantiation phpstan --- phpstan.neon | 3 +++ 1 file changed, 3 insertions(+) diff --git a/phpstan.neon b/phpstan.neon index c8a7d64..53d48da 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -10,3 +10,6 @@ parameters: level: 5 checkMissingIterableValueType: false + + ignoreErrors: + - '#Unsafe usage of new static#'