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

rector-laravel/laravel-100 set

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

[lint]
sets = ["rector-laravel/laravel-100"]

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

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/refactor/rename-function RenameFunctionRector Ported
lint/refactor/rename-method RenameMethodRector Ported
lint/refactor/rename-property RenamePropertyRector Ported

Last updated on

Was this page helpful?