rector-laravel/up-to-laravel-90 set
rector-laravel’s up-to-laravel-90 set: the Pun lint rules its Rector rules map to, and nothing else.
[lint]
sets = ["rector-laravel/up-to-laravel-90"]
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 (22)
| Rule | Rector rules | Status |
|---|---|---|
lint/laravel-5.7/add-login-event-guard |
AddGuardToLoginEventRector |
Ported |
lint/laravel-5.7/add-mock-console-output-false |
AddMockConsoleOutputFalseToConsoleTestsRector |
Ported |
lint/laravel-5.7/add-parent-boot-call |
AddParentBootToModelClassMethodRector |
Ported |
lint/laravel-5.7/add-where-time |
ChangeQueryWhereDateValueWithCarbonRector |
Ported |
lint/laravel-5.7/prefer-permanent-redirect |
Redirect301ToPermanentRedirectRector |
Ported |
lint/laravel-5.8/prefer-deferrable-provider |
PropertyDeferToDeferrableProviderToRector |
Ported |
lint/laravel-8/add-parent-register-call |
AddParentRegisterToEventServiceProviderRector |
Ported |
lint/laravel-9/prefer-attribute-accessor |
MigrateToSimplifiedAttributeRector |
Ported |
lint/laravel-9/prefer-fake-helper |
ReplaceFakerInstanceWithHelperRector |
Ported |
lint/laravel/add-factory-extends-phpdoc |
AddExtendsAnnotationToModelFactoriesRector |
Ported |
lint/refactor/add-argument-default |
AddArgumentDefaultValueRector |
Ported |
lint/refactor/add-param-type |
AddParamTypeDeclarationRector |
Ported |
lint/refactor/add-return-type |
AddReturnTypeDeclarationRector |
Ported |
lint/refactor/change-method-visibility |
ChangeMethodVisibilityRector |
Ported |
lint/refactor/remove-interfaces |
RemoveInterfacesRector |
Ported |
lint/refactor/remove-method-argument |
ArgumentRemoverRector |
Ported |
lint/refactor/rename-class |
RenameClassRector |
Ported |
lint/refactor/rename-method |
RenameMethodRector |
Ported |
lint/refactor/rename-property |
RenamePropertyRector |
Ported |
lint/refactor/replace-event-string-with-constant |
EventStringToClassConstantRector |
Ported |
lint/refactor/replace-function-with-static |
FuncCallToStaticCallRector |
Ported |
lint/refactor/replace-static-with-function |
StaticCallToFuncCallRector |
Ported |