---
title: "rector-laravel/up-to-laravel-130 set"
pagination: false
---

{/* Generated by scripts/gen-rule-docs.py. Edit mapping.toml, not this file. */}

rector-laravel's `up-to-laravel-130` set: the Pun lint rules its Rector rules map to, and nothing else.

```toml
[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](/docs/configuration/presets#lint-presets) 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](/docs/configuration/pun-toml#extensions).

## Rules (69)

| Rule | Rector rules | Status |
| --- | --- | --- |
| [`lint/laravel-10/no-expression-string-cast`](/docs/rules/lint/laravel-10/no-expression-string-cast) | `DatabaseExpressionCastsToMethodCallRector` | Ported |
| [`lint/laravel-10/no-expression-to-string`](/docs/rules/lint/laravel-10/no-expression-to-string) | `DatabaseExpressionToStringToMethodCallRector` | Ported |
| [`lint/laravel-10/prefer-assert-sent-times`](/docs/rules/lint/laravel-10/prefer-assert-sent-times) | `ReplaceAssertTimesSendWithAssertSentTimesRector` | Ported |
| [`lint/laravel-10/prefer-date-casts`](/docs/rules/lint/laravel-10/prefer-date-casts) | `UnifyModelDatesWithCastsRector` | Ported |
| [`lint/laravel-10/prefer-dispatch-sync`](/docs/rules/lint/laravel-10/prefer-dispatch-sync) | `DispatchNonShouldQueueToDispatchSyncRector` | Ported |
| [`lint/laravel-10/prefer-facade-fake`](/docs/rules/lint/laravel-10/prefer-facade-fake) | `ReplaceWithoutJobsEventsAndNotificationsWithFacadeFakeRector` | Ported |
| [`lint/laravel-10/prefer-fake-over-expects`](/docs/rules/lint/laravel-10/prefer-fake-over-expects) | `ReplaceExpectsMethodsInTestsRector` | Ported |
| [`lint/laravel-11/prefer-assert-see-html`](/docs/rules/lint/laravel-11/prefer-assert-see-html) | `AssertSeeToAssertSeeHtmlRector` | Ported |
| [`lint/laravel-11/prefer-casts-method`](/docs/rules/lint/laravel-11/prefer-casts-method) | `ModelCastsPropertyToCastsMethodRector` | Ported |
| [`lint/laravel-11/prefer-geometry-column`](/docs/rules/lint/laravel-11/prefer-geometry-column) | `RefactorBlueprintGeometryColumnsRector` | Ported |
| [`lint/laravel-11/prefer-queueable-trait`](/docs/rules/lint/laravel-11/prefer-queueable-trait) | `ReplaceQueueTraitsWithQueueableRector` | Ported |
| [`lint/laravel-12/prefer-scope-attribute`](/docs/rules/lint/laravel-12/prefer-scope-attribute) | `ScopeNamedClassMethodToScopeAttributedClassMethodRector` | Ported |
| [`lint/laravel-5.7/add-login-event-guard`](/docs/rules/lint/laravel-5-7/add-login-event-guard) | `AddGuardToLoginEventRector` | Ported |
| [`lint/laravel-5.7/add-mock-console-output-false`](/docs/rules/lint/laravel-5-7/add-mock-console-output-false) | `AddMockConsoleOutputFalseToConsoleTestsRector` | Ported |
| [`lint/laravel-5.7/add-parent-boot-call`](/docs/rules/lint/laravel-5-7/add-parent-boot-call) | `AddParentBootToModelClassMethodRector` | Ported |
| [`lint/laravel-5.7/add-where-time`](/docs/rules/lint/laravel-5-7/add-where-time) | `ChangeQueryWhereDateValueWithCarbonRector` | Ported |
| [`lint/laravel-5.7/prefer-permanent-redirect`](/docs/rules/lint/laravel-5-7/prefer-permanent-redirect) | `Redirect301ToPermanentRedirectRector` | Ported |
| [`lint/laravel-5.8/prefer-deferrable-provider`](/docs/rules/lint/laravel-5-8/prefer-deferrable-provider) | `PropertyDeferToDeferrableProviderToRector` | Ported |
| [`lint/laravel-8/add-parent-register-call`](/docs/rules/lint/laravel-8/add-parent-register-call) | `AddParentRegisterToEventServiceProviderRector` | Ported |
| [`lint/laravel-9/prefer-attribute-accessor`](/docs/rules/lint/laravel-9/prefer-attribute-accessor) | `MigrateToSimplifiedAttributeRector` | Ported |
| [`lint/laravel-9/prefer-fake-helper`](/docs/rules/lint/laravel-9/prefer-fake-helper) | `ReplaceFakerInstanceWithHelperRector` | Ported |
| [`lint/laravel/add-factory-extends-phpdoc`](/docs/rules/lint/laravel/add-factory-extends-phpdoc) | `AddExtendsAnnotationToModelFactoriesRector` | Ported |
| [`lint/laravel/prefer-aliases-attribute`](/docs/rules/lint/laravel/prefer-aliases-attribute) | `AliasesPropertyToAliasesAttributeRector` | Ported |
| [`lint/laravel/prefer-appends-attribute`](/docs/rules/lint/laravel/prefer-appends-attribute) | `AppendsPropertyToAppendsAttributeRector` | Ported |
| [`lint/laravel/prefer-backoff-attribute`](/docs/rules/lint/laravel/prefer-backoff-attribute) | `BackoffPropertyToBackoffAttributeRector` | Ported |
| [`lint/laravel/prefer-closure-only-bind`](/docs/rules/lint/laravel/prefer-closure-only-bind) | `ContainerBindConcreteWithClosureOnlyRector` | Ported |
| [`lint/laravel/prefer-collected-by-attribute`](/docs/rules/lint/laravel/prefer-collected-by-attribute) | `CollectedByPropertyToCollectedByAttributeRector` | Ported |
| [`lint/laravel/prefer-collects-attribute`](/docs/rules/lint/laravel/prefer-collects-attribute) | `CollectsPropertyToCollectsAttributeRector` | Ported |
| [`lint/laravel/prefer-command-hidden-attribute`](/docs/rules/lint/laravel/prefer-command-hidden-attribute) | `CommandHiddenPropertyToHiddenAttributeRector` | Ported |
| [`lint/laravel/prefer-connection-attribute`](/docs/rules/lint/laravel/prefer-connection-attribute) | `ConnectionPropertyToConnectionAttributeRector` | Ported |
| [`lint/laravel/prefer-date-format-attribute`](/docs/rules/lint/laravel/prefer-date-format-attribute) | `DateFormatPropertyToDateFormatAttributeRector` | Ported |
| [`lint/laravel/prefer-delay-attribute`](/docs/rules/lint/laravel/prefer-delay-attribute) | `DelayPropertyToDelayAttributeRector` | Ported |
| [`lint/laravel/prefer-delete-when-missing-models-attribute`](/docs/rules/lint/laravel/prefer-delete-when-missing-models-attribute) | `DeleteWhenMissingModelsPropertyToDeleteWhenMissingModelsAttributeRector` | Ported |
| [`lint/laravel/prefer-description-attribute`](/docs/rules/lint/laravel/prefer-description-attribute) | `DescriptionPropertyToDescriptionAttributeRector` | Ported |
| [`lint/laravel/prefer-error-bag-attribute`](/docs/rules/lint/laravel/prefer-error-bag-attribute) | `ErrorBagPropertyToErrorBagAttributeRector` | Ported |
| [`lint/laravel/prefer-fail-on-timeout-attribute`](/docs/rules/lint/laravel/prefer-fail-on-timeout-attribute) | `FailOnTimeoutPropertyToFailOnTimeoutAttributeRector` | Ported |
| [`lint/laravel/prefer-fillable-attribute`](/docs/rules/lint/laravel/prefer-fillable-attribute) | `FillablePropertyToFillableAttributeRector` | Ported |
| [`lint/laravel/prefer-guarded-attribute`](/docs/rules/lint/laravel/prefer-guarded-attribute) | `GuardedPropertyToGuardedAttributeRector` | Ported |
| [`lint/laravel/prefer-help-attribute`](/docs/rules/lint/laravel/prefer-help-attribute) | `HelpPropertyToHelpAttributeRector` | Ported |
| [`lint/laravel/prefer-hidden-attribute`](/docs/rules/lint/laravel/prefer-hidden-attribute) | `HiddenPropertyToHiddenAttributeRector` | Ported |
| [`lint/laravel/prefer-job-connection-attribute`](/docs/rules/lint/laravel/prefer-job-connection-attribute) | `JobConnectionPropertyToJobConnectionAttributeRector` | Ported |
| [`lint/laravel/prefer-max-exceptions-attribute`](/docs/rules/lint/laravel/prefer-max-exceptions-attribute) | `MaxExceptionsPropertyToMaxExceptionsAttributeRector` | Ported |
| [`lint/laravel/prefer-preserve-keys-attribute`](/docs/rules/lint/laravel/prefer-preserve-keys-attribute) | `PreserveKeysPropertyToPreserveKeysAttributeRector` | Ported |
| [`lint/laravel/prefer-queue-attribute`](/docs/rules/lint/laravel/prefer-queue-attribute) | `QueuePropertyToQueueAttributeRector` | Ported |
| [`lint/laravel/prefer-route-key-attribute`](/docs/rules/lint/laravel/prefer-route-key-attribute) | `RouteKeyMethodToRouteKeyAttributeRector` | Ported |
| [`lint/laravel/prefer-signature-attribute`](/docs/rules/lint/laravel/prefer-signature-attribute) | `SignaturePropertyToSignatureAttributeRector` | Ported |
| [`lint/laravel/prefer-stop-on-first-failure-attribute`](/docs/rules/lint/laravel/prefer-stop-on-first-failure-attribute) | `StopOnFirstFailurePropertyToStopOnFirstFailureAttributeRector` | Ported |
| [`lint/laravel/prefer-table-attribute`](/docs/rules/lint/laravel/prefer-table-attribute) | `TablePropertyToTableAttributeRector` | Ported |
| [`lint/laravel/prefer-timeout-attribute`](/docs/rules/lint/laravel/prefer-timeout-attribute) | `TimeoutPropertyToTimeoutAttributeRector` | Ported |
| [`lint/laravel/prefer-touches-attribute`](/docs/rules/lint/laravel/prefer-touches-attribute) | `TouchesPropertyToTouchesAttributeRector` | Ported |
| [`lint/laravel/prefer-tries-attribute`](/docs/rules/lint/laravel/prefer-tries-attribute) | `TriesPropertyToTriesAttributeRector` | Ported |
| [`lint/laravel/prefer-unguarded-attribute`](/docs/rules/lint/laravel/prefer-unguarded-attribute) | `EmptyGuardedPropertyToUnguardedAttributeRector` | Ported |
| [`lint/laravel/prefer-unique-for-attribute`](/docs/rules/lint/laravel/prefer-unique-for-attribute) | `UniqueForPropertyToUniqueForAttributeRector` | Ported |
| [`lint/laravel/prefer-visible-attribute`](/docs/rules/lint/laravel/prefer-visible-attribute) | `VisiblePropertyToVisibleAttributeRector` | Ported |
| [`lint/laravel/prefer-without-incrementing-attribute`](/docs/rules/lint/laravel/prefer-without-incrementing-attribute) | `WithoutIncrementingPropertyToWithoutIncrementingAttributeRector` | Ported |
| [`lint/laravel/prefer-without-timestamps-attribute`](/docs/rules/lint/laravel/prefer-without-timestamps-attribute) | `WithoutTimestampsPropertyToWithoutTimestampsAttributeRector` | Ported |
| [`lint/refactor/add-argument-default`](/docs/rules/lint/refactor/add-argument-default) | `AddArgumentDefaultValueRector` | Ported |
| [`lint/refactor/add-param-type`](/docs/rules/lint/refactor/add-param-type) | `AddParamTypeDeclarationRector` | Ported |
| [`lint/refactor/add-return-type`](/docs/rules/lint/refactor/add-return-type) | `AddReturnTypeDeclarationRector` | Ported |
| [`lint/refactor/change-method-visibility`](/docs/rules/lint/refactor/change-method-visibility) | `ChangeMethodVisibilityRector` | Ported |
| [`lint/refactor/remove-interfaces`](/docs/rules/lint/refactor/remove-interfaces) | `RemoveInterfacesRector` | Ported |
| [`lint/refactor/remove-method-argument`](/docs/rules/lint/refactor/remove-method-argument) | `ArgumentRemoverRector` | Ported |
| [`lint/refactor/rename-class`](/docs/rules/lint/refactor/rename-class) | `RenameClassRector` | Ported |
| [`lint/refactor/rename-function`](/docs/rules/lint/refactor/rename-function) | `RenameFunctionRector` | Ported |
| [`lint/refactor/rename-method`](/docs/rules/lint/refactor/rename-method) | `RenameMethodRector` | Ported |
| [`lint/refactor/rename-property`](/docs/rules/lint/refactor/rename-property) | `RenamePropertyRector` | Ported |
| [`lint/refactor/replace-event-string-with-constant`](/docs/rules/lint/refactor/replace-event-string-with-constant) | `EventStringToClassConstantRector` | Ported |
| [`lint/refactor/replace-function-with-static`](/docs/rules/lint/refactor/replace-function-with-static) | `FuncCallToStaticCallRector` | Ported |
| [`lint/refactor/replace-static-with-function`](/docs/rules/lint/refactor/replace-static-with-function) | `StaticCallToFuncCallRector` | Ported |
