rector/php73 set
Rector’s php73 set: the Pun lint rules its Rector rules map to, and nothing else.
[lint]
sets = ["rector/php73"]
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 (10)
| Rule | Rector rules | Status |
|---|---|---|
lint/php-7.3/no-case-insensitive-constant |
SensitiveConstantNameRector |
Ported |
lint/php-7.3/no-case-insensitive-define |
SensitiveDefineRector |
Ported |
lint/php-7.3/no-heredoc-label-in-body |
SensitiveHereNowDocRector |
Ported |
lint/php-7.3/no-unescaped-regex-dash |
RegexDashEscapeRector |
Ported |
lint/php-7.3/prefer-array-key-first |
ArrayKeyFirstLastRector |
Ported |
lint/php-7.3/prefer-array-key-first-last |
ArrayKeysToArrayKeyFirstLastRector |
Ported |
lint/php-7.3/prefer-is-countable |
IsCountableRector |
Ported |
lint/php-7.3/prefer-setcookie-options |
SetCookieRector |
Ported |
lint/php-7.3/require-string-needle |
StringifyStrNeedlesRector |
Ported |
lint/refactor/rename-function |
RenameFunctionRector |
Ported |