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

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

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

```toml
[lint]
sets = ["rector-laravel/up-to-laravel-70"]
```

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 (17)

| Rule | Rector rules | Status |
| --- | --- | --- |
| [`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/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-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 |
