rector-laravel/up-to-laravel-130 set
rector-laravel’s up-to-laravel-130 set: the Pun lint rules its Rector rules map to, and nothing else.
[lint]
sets = ["rector-laravel/up-to-laravel-130"]
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 (69)
| Rule | Rector rules | Status |
|---|---|---|
lint/laravel-10/no-expression-string-cast |
DatabaseExpressionCastsToMethodCallRector |
Ported |
lint/laravel-10/no-expression-to-string |
DatabaseExpressionToStringToMethodCallRector |
Ported |
lint/laravel-10/prefer-assert-sent-times |
ReplaceAssertTimesSendWithAssertSentTimesRector |
Ported |
lint/laravel-10/prefer-date-casts |
UnifyModelDatesWithCastsRector |
Ported |
lint/laravel-10/prefer-dispatch-sync |
DispatchNonShouldQueueToDispatchSyncRector |
Ported |
lint/laravel-10/prefer-facade-fake |
ReplaceWithoutJobsEventsAndNotificationsWithFacadeFakeRector |
Ported |
lint/laravel-10/prefer-fake-over-expects |
ReplaceExpectsMethodsInTestsRector |
Ported |
lint/laravel-11/prefer-assert-see-html |
AssertSeeToAssertSeeHtmlRector |
Ported |
lint/laravel-11/prefer-casts-method |
ModelCastsPropertyToCastsMethodRector |
Ported |
lint/laravel-11/prefer-geometry-column |
RefactorBlueprintGeometryColumnsRector |
Ported |
lint/laravel-11/prefer-queueable-trait |
ReplaceQueueTraitsWithQueueableRector |
Ported |
lint/laravel-12/prefer-scope-attribute |
ScopeNamedClassMethodToScopeAttributedClassMethodRector |
Ported |
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/laravel/prefer-aliases-attribute |
AliasesPropertyToAliasesAttributeRector |
Ported |
lint/laravel/prefer-appends-attribute |
AppendsPropertyToAppendsAttributeRector |
Ported |
lint/laravel/prefer-backoff-attribute |
BackoffPropertyToBackoffAttributeRector |
Ported |
lint/laravel/prefer-closure-only-bind |
ContainerBindConcreteWithClosureOnlyRector |
Ported |
lint/laravel/prefer-collected-by-attribute |
CollectedByPropertyToCollectedByAttributeRector |
Ported |
lint/laravel/prefer-collects-attribute |
CollectsPropertyToCollectsAttributeRector |
Ported |
lint/laravel/prefer-command-hidden-attribute |
CommandHiddenPropertyToHiddenAttributeRector |
Ported |
lint/laravel/prefer-connection-attribute |
ConnectionPropertyToConnectionAttributeRector |
Ported |
lint/laravel/prefer-date-format-attribute |
DateFormatPropertyToDateFormatAttributeRector |
Ported |
lint/laravel/prefer-delay-attribute |
DelayPropertyToDelayAttributeRector |
Ported |
lint/laravel/prefer-delete-when-missing-models-attribute |
DeleteWhenMissingModelsPropertyToDeleteWhenMissingModelsAttributeRector |
Ported |
lint/laravel/prefer-description-attribute |
DescriptionPropertyToDescriptionAttributeRector |
Ported |
lint/laravel/prefer-error-bag-attribute |
ErrorBagPropertyToErrorBagAttributeRector |
Ported |
lint/laravel/prefer-fail-on-timeout-attribute |
FailOnTimeoutPropertyToFailOnTimeoutAttributeRector |
Ported |
lint/laravel/prefer-fillable-attribute |
FillablePropertyToFillableAttributeRector |
Ported |
lint/laravel/prefer-guarded-attribute |
GuardedPropertyToGuardedAttributeRector |
Ported |
lint/laravel/prefer-help-attribute |
HelpPropertyToHelpAttributeRector |
Ported |
lint/laravel/prefer-hidden-attribute |
HiddenPropertyToHiddenAttributeRector |
Ported |
lint/laravel/prefer-job-connection-attribute |
JobConnectionPropertyToJobConnectionAttributeRector |
Ported |
lint/laravel/prefer-max-exceptions-attribute |
MaxExceptionsPropertyToMaxExceptionsAttributeRector |
Ported |
lint/laravel/prefer-preserve-keys-attribute |
PreserveKeysPropertyToPreserveKeysAttributeRector |
Ported |
lint/laravel/prefer-queue-attribute |
QueuePropertyToQueueAttributeRector |
Ported |
lint/laravel/prefer-route-key-attribute |
RouteKeyMethodToRouteKeyAttributeRector |
Ported |
lint/laravel/prefer-signature-attribute |
SignaturePropertyToSignatureAttributeRector |
Ported |
lint/laravel/prefer-stop-on-first-failure-attribute |
StopOnFirstFailurePropertyToStopOnFirstFailureAttributeRector |
Ported |
lint/laravel/prefer-table-attribute |
TablePropertyToTableAttributeRector |
Ported |
lint/laravel/prefer-timeout-attribute |
TimeoutPropertyToTimeoutAttributeRector |
Ported |
lint/laravel/prefer-touches-attribute |
TouchesPropertyToTouchesAttributeRector |
Ported |
lint/laravel/prefer-tries-attribute |
TriesPropertyToTriesAttributeRector |
Ported |
lint/laravel/prefer-unguarded-attribute |
EmptyGuardedPropertyToUnguardedAttributeRector |
Ported |
lint/laravel/prefer-unique-for-attribute |
UniqueForPropertyToUniqueForAttributeRector |
Ported |
lint/laravel/prefer-visible-attribute |
VisiblePropertyToVisibleAttributeRector |
Ported |
lint/laravel/prefer-without-incrementing-attribute |
WithoutIncrementingPropertyToWithoutIncrementingAttributeRector |
Ported |
lint/laravel/prefer-without-timestamps-attribute |
WithoutTimestampsPropertyToWithoutTimestampsAttributeRector |
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-function |
RenameFunctionRector |
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 |