From 5a4bdd4751130ec2d9e647e5979fc0971c685f39 Mon Sep 17 00:00:00 2001 From: Phan An Date: Wed, 30 Oct 2024 10:48:58 +0700 Subject: [PATCH] fix: lax the "unsafe use of static" analysis error --- phpstan.neon | 3 +++ 1 file changed, 3 insertions(+) diff --git a/phpstan.neon b/phpstan.neon index f06a494..789e533 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -6,3 +6,6 @@ parameters: - src/ level: 5 + + ignoreErrors: + - '#Unsafe usage of new static\(\)#'