From 193b4f518d53eb3648b09ff131f83979067fec59 Mon Sep 17 00:00:00 2001 From: Ondrej Mirtes Date: Mon, 16 Sep 2024 16:33:28 +0200 Subject: [PATCH] Errors with `argument.named` are ignorable now --- src/Rules/FunctionCallParametersCheck.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Rules/FunctionCallParametersCheck.php b/src/Rules/FunctionCallParametersCheck.php index 4f0d2ae44..6a1d2f16b 100644 --- a/src/Rules/FunctionCallParametersCheck.php +++ b/src/Rules/FunctionCallParametersCheck.php @@ -295,7 +295,6 @@ public function check( $errors[] = RuleErrorBuilder::message(sprintf($messages[14], sprintf('named argument $%s', $argumentName))) ->identifier('argument.named') ->line($argumentLine) - ->nonIgnorable() ->build(); } elseif ($unpack) { $unpackedArrayType = $scope->getType($argumentValue); @@ -304,7 +303,6 @@ public function check( $errors[] = RuleErrorBuilder::message(sprintf($messages[14], sprintf('unpacked array with %s', $hasStringKey->yes() ? 'string key' : 'possibly string key'))) ->identifier('argument.named') ->line($argumentLine) - ->nonIgnorable() ->build(); } }