rector-laravel/laravel-58 set
rector-laravel’s laravel-58 set: the Pun lint rules its Rector rules map to, and nothing else.
[lint]
sets = ["rector-laravel/laravel-58"]
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/laravel-5.8/prefer-deferrable-provider |
PropertyDeferToDeferrableProviderToRector |
Ported |
lint/refactor/add-return-type |
AddReturnTypeDeclarationRector |
Ported |
lint/refactor/rename-property |
RenamePropertyRector |
Ported |
lint/refactor/replace-function-with-static |
FuncCallToStaticCallRector |
Ported |