Skip to content
Esc
↑↓navigate↵open⌘Jpreview
On this page

rector-laravel/laravel-90 set

rector-laravel’s laravel-90 set: the Pun lint rules its Rector rules map to, and nothing else.

[lint]
sets = ["rector-laravel/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 (5)

Rule Rector rules Status
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/change-method-visibility ChangeMethodVisibilityRector Ported
lint/refactor/rename-method RenameMethodRector Ported

Last updated on

Was this page helpful?