Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 193b4f5

Browse files
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‎

Lines changed: 0 additions & 2 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /