---
title: "rector-laravel/laravel-testing set"
pagination: false
---

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

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

```toml
[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](/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 (4)

| Rule | Rector rules | Status |
| --- | --- | --- |
| [`lint/laravel/prefer-dedicated-status-assertion`](/docs/rules/lint/laravel/prefer-dedicated-status-assertion) | `AssertStatusToAssertMethodRector` | Ported |
| [`lint/laravel/prefer-explicit-json-call`](/docs/rules/lint/laravel/prefer-explicit-json-call) | `JsonCallToExplicitJsonCallRector` | Ported |
| [`lint/laravel/prefer-travel-to`](/docs/rules/lint/laravel/prefer-travel-to) | `CarbonSetTestNowToTravelToRector` | Ported |
| [`lint/laravel/prefer-typed-assert-closure`](/docs/rules/lint/laravel/prefer-typed-assert-closure) | `AssertWithClassStringToTypeHintedClosureRector` | Ported |
