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

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

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

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

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/php-8.2/add-skip-dots-flag`](/docs/rules/lint/php-8-2/add-skip-dots-flag) | `FilesystemIteratorSkipDotsRector` | Ported |
| [`lint/php-8.2/no-dollar-brace-interpolation`](/docs/rules/lint/php-8-2/no-dollar-brace-interpolation) | `VariableInStringInterpolationFixerRector` | Ported |
| [`lint/php-8.2/no-utf8-encode-decode`](/docs/rules/lint/php-8-2/no-utf8-encode-decode) | `Utf8DecodeEncodeToMbConvertEncodingRector` | Ported |
| [`lint/php-8.2/prefer-readonly-class`](/docs/rules/lint/php-8-2/prefer-readonly-class) | `ReadOnlyClassRector` | Ported |
