rector/php86 set
Rector’s php86 set: the Pun lint rules its Rector rules map to, and nothing else.
[lint]
sets = ["rector/php86"]
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 (4)
| Rule | Rector rules | Status |
|---|---|---|
lint/php-8.6/prefer-clamp |
MinMaxToClampRector |
Ported |
lint/php-8.6/prefer-readonly-property-default |
ConstructorReadonlyAssignToDefaultRector |
Ported |
lint/refactor/remove-function-argument |
RemoveFuncCallArgRector |
Ported |
lint/refactor/rename-function |
RenameFunctionRector |
Ported |