---
title: "rector/php84 set"
pagination: false
---

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

Rector's `php84` set: the Pun lint rules its Rector rules map to, and nothing else.

```toml
[lint]
sets = ["rector/php84"]
```

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

| Rule | Rector rules | Status |
| --- | --- | --- |
| [`lint/php-8.4/add-csv-escape-argument`](/docs/rules/lint/php-8-4/add-csv-escape-argument) | `AddEscapeArgumentRector` | Ported |
| [`lint/php-8.4/prefer-array-find`](/docs/rules/lint/php-8-4/prefer-array-find) | `ForeachToArrayAllRector`, `ForeachToArrayAnyRector`, `ForeachToArrayFindKeyRector`, `ForeachToArrayFindRector` | Ported |
| [`lint/php-8.4/prefer-round-mode-enum`](/docs/rules/lint/php-8-4/prefer-round-mode-enum) | `RoundingModeEnumRector` | Ported |
