Skip to content
Esc
↑↓navigate↵open⌘Jpreview
On this page

rector/named-args set

Rector’s named-args set: the Pun lint rules its Rector rules map to, and nothing else.

[lint]
sets = ["rector/named-args"]

A rule merged from several Rector rules runs only the rewrites of this set’s Rector rules, unless a preset also turns it on. Rector rules that are format rules in Pun run under [format] instead. Laravel, Pest, and PHPUnit rules also need their extension.

Rules (6)

Rule Rector rules Status
lint/complexity/require-attribute-argument-order SortAttributeNamedArgsRector Ported
lint/complexity/require-named-argument-order SortCallLikeNamedArgsRector Ported
lint/dead-code/no-redundant-default-argument RemoveNullNamedArgOnNullDefaultParamRector Ported
lint/functions/add-attribute-argument-names ExplicitAttributeNamedArgsRector Ported
lint/functions/add-boolean-argument-name AddNameToBooleanArgumentRector Ported
lint/functions/add-null-argument-name AddNameToNullArgumentRector Ported

Last updated on

Was this page helpful?