From 396e058e290bcb1224f812c7e0313ee5dc2dcbd5 Mon Sep 17 00:00:00 2001 From: ADmad Date: Thu, 19 Sep 2024 18:45:14 +0530 Subject: [PATCH] update phpstan config --- .phive/phars.xml | 2 +- phpstan.neon | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.phive/phars.xml b/.phive/phars.xml index c8954a4..5fc9dc5 100644 --- a/.phive/phars.xml +++ b/.phive/phars.xml @@ -1,5 +1,5 @@ - + diff --git a/phpstan.neon b/phpstan.neon index bbf4d93..441a164 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -5,10 +5,12 @@ parameters: ignoreErrors: - identifier: missingType.iterableValue + - identifier: missingType.generics + - - message: "#^Parameter \\#1 \\$field of method Cake\\\\Datasource\\\\EntityInterface\\:\\:get\\(\\) expects string, array\\\\|string given\\.$#" + message: "#^Parameter \\#1 \\$field of method Cake\\\\Datasource\\\\EntityInterface\\:\\:get\\(\\) expects string, array\\\\|string given\\.$#" count: 1 path: src/File/Path/DefaultProcessor.php