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

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

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

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

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

| Rule | Rector rules | Status |
| --- | --- | --- |
| [`lint/php-8.3/add-const-type`](/docs/rules/lint/php-8-3/add-const-type) | `AddTypeToConstRector` | Ported |
| [`lint/php-8.3/prefer-dynamic-class-constant`](/docs/rules/lint/php-8-3/prefer-dynamic-class-constant) | `DynamicClassConstFetchRector` | Ported |
| [`lint/php-8.3/prefer-json-validate`](/docs/rules/lint/php-8-3/prefer-json-validate) | `JsonValidateRector` | Ported |
| [`lint/php-8.3/prefer-ldap-uri`](/docs/rules/lint/php-8-3/prefer-ldap-uri) | `CombineHostPortLdapUriRector` | Ported |
| [`lint/php-8.3/prefer-readonly-anonymous-class`](/docs/rules/lint/php-8-3/prefer-readonly-anonymous-class) | `ReadOnlyAnonymousClassRector` | Ported |
| [`lint/php-8.3/prefer-self-class`](/docs/rules/lint/php-8-3/prefer-self-class) | `RemoveGetClassGetParentClassNoArgsRector` | Ported |
