Skip to content

Commit

Permalink
Errors with argument.named are ignorable now
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Sep 16, 2024
1 parent 2105058 commit 193b4f5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Rules/FunctionCallParametersCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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();
}
}
Expand Down

0 comments on commit 193b4f5

Please sign in to comment.