diff --git a/.phive/phars.xml b/.phive/phars.xml index 17093fd..c8954a4 100644 --- a/.phive/phars.xml +++ b/.phive/phars.xml @@ -1,5 +1,5 @@ - - + + diff --git a/phpstan.neon b/phpstan.neon index 5ef1237..bbf4d93 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,10 +1,12 @@ parameters: level: 8 - checkMissingIterableValueType: false - checkGenericClassInNonGenericObjectType: false paths: - src ignoreErrors: + - + identifier: missingType.iterableValue + - + identifier: missingType.generics - message: "#^Parameter \\#1 \\$field of method Cake\\\\Datasource\\\\EntityInterface\\:\\:get\\(\\) expects string, array\\\\|string given\\.$#" count: 1 @@ -15,11 +17,6 @@ parameters: count: 1 path: src/File/Writer/DefaultWriter.php - - - message: "#^Parameter \\#1 \\$key of method Cake\\\\ORM\\\\Behavior\\:\\:setConfig\\(\\) expects array\\\\|string, array\\ given\\.$#" - count: 1 - path: src/Model/Behavior/UploadBehavior.php - - message: "#^Cannot use array destructuring on array\\\\|false\\.$#" count: 4