rector-laravel/laravel-testing set
rector-laravel’s laravel-testing set: the Pun lint rules its Rector rules map to, and nothing else.
[lint]
sets = ["rector-laravel/laravel-testing"]
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 (4)
| Rule | Rector rules | Status |
|---|---|---|
lint/laravel/prefer-dedicated-status-assertion |
AssertStatusToAssertMethodRector |
Ported |
lint/laravel/prefer-explicit-json-call |
JsonCallToExplicitJsonCallRector |
Ported |
lint/laravel/prefer-travel-to |
CarbonSetTestNowToTravelToRector |
Ported |
lint/laravel/prefer-typed-assert-closure |
AssertWithClassStringToTypeHintedClosureRector |
Ported |