rector/php71 set
Rector’s php71 set: the Pun lint rules its Rector rules map to, and nothing else.
[lint]
sets = ["rector/php71"]
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 (5)
| Rule | Rector rules | Status |
|---|---|---|
lint/functions/no-extra-arguments |
RemoveExtraParametersRector |
Ported |
lint/php-7.1/no-append-to-string |
AssignArrayToStringRector |
Ported |
lint/php-7.1/no-non-numeric-string-operand |
BinaryOpBetweenNumberAndStringRector |
Ported |
lint/php-7.1/prefer-is-iterable |
IsIterableRector |
Ported |
lint/php-7.1/prefer-multi-catch |
MultiExceptionCatchRector |
Ported |