Skip to content

Commit 193b4f5

Browse files
committed
Errors with argument.named are ignorable now
1 parent 2105058 commit 193b4f5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Rules/FunctionCallParametersCheck.php

-2
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,6 @@ public function check(
295295
$errors[] = RuleErrorBuilder::message(sprintf($messages[14], sprintf('named argument $%s', $argumentName)))
296296
->identifier('argument.named')
297297
->line($argumentLine)
298-
->nonIgnorable()
299298
->build();
300299
} elseif ($unpack) {
301300
$unpackedArrayType = $scope->getType($argumentValue);
@@ -304,7 +303,6 @@ public function check(
304303
$errors[] = RuleErrorBuilder::message(sprintf($messages[14], sprintf('unpacked array with %s', $hasStringKey->yes() ? 'string key' : 'possibly string key')))
305304
->identifier('argument.named')
306305
->line($argumentLine)
307-
->nonIgnorable()
308306
->build();
309307
}
310308
}

0 commit comments

Comments
 (0)