From c045c1b0770ee8c8a35489cc4d8e320d009e2dd5 Mon Sep 17 00:00:00 2001 From: Brown Date: Sat, 29 Aug 2020 11:17:57 -0400 Subject: [PATCH] Allow ParamNameMismatch to be suppressed locally Fixes #4012 --- src/Psalm/Internal/Analyzer/MethodComparator.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Psalm/Internal/Analyzer/MethodComparator.php b/src/Psalm/Internal/Analyzer/MethodComparator.php index fde424d82..333607a29 100644 --- a/src/Psalm/Internal/Analyzer/MethodComparator.php +++ b/src/Psalm/Internal/Analyzer/MethodComparator.php @@ -435,7 +435,8 @@ class MethodComparator . $guide_param->name . ' as defined by ' . $cased_guide_method_id, $implementer_param->location - ) + ), + $suppressed_issues )) { // fall through }