From 5892bac796cfff1409d6d482eca3eb09fedb43eb Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Thu, 16 May 2024 21:33:48 +0700 Subject: [PATCH] [PHPStan] Fix missingType.generics notice on phpstan.neon on PHPStan 1.11 --- phpstan.neon | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpstan.neon b/phpstan.neon index 017346c42aa..26279c01027 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -32,7 +32,6 @@ parameters: scanFiles: - src/Contract/PhpParser/Node/StmtsAwareInterface.php - checkGenericClassInNonGenericObjectType: false excludePaths: - '*tests/*/Fixture/*' @@ -46,6 +45,8 @@ parameters: - src/functions ignoreErrors: + - + identifier: missingType.generics - message: '#Class cognitive complexity is \d+, keep it under \d+#' paths: