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

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

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

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

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

| Rule | Rector rules | Status |
| --- | --- | --- |
| [`lint/php-8.5/no-finfo-buffer-context`](/docs/rules/lint/php-8-5/no-finfo-buffer-context) | `RemoveFinfoBufferContextArgRector` | Ported |
| [`lint/php-8.5/no-null-array-key`](/docs/rules/lint/php-8-5/no-null-array-key) | `ArrayKeyExistsNullToEmptyStringRector` | Ported |
| [`lint/php-8.5/no-null-debug-info`](/docs/rules/lint/php-8-5/no-null-debug-info) | `NullDebugInfoReturnRector` | Ported |
| [`lint/php-8.5/no-out-of-range-chr`](/docs/rules/lint/php-8-5/no-out-of-range-chr) | `ChrArgModuloRector` | Ported |
| [`lint/php-8.5/prefer-array-first-last`](/docs/rules/lint/php-8-5/prefer-array-first-last) | `ArrayFirstLastRector` | Ported |
| [`lint/php-8.5/prefer-ord-first-byte`](/docs/rules/lint/php-8-5/prefer-ord-first-byte) | `OrdSingleByteRector` | Ported |
| [`lint/refactor/add-override-attribute`](/docs/rules/lint/refactor/add-override-attribute) | `AddOverrideAttributeToOverriddenPropertiesRector` | Ported |
| [`lint/refactor/remove-function-argument`](/docs/rules/lint/refactor/remove-function-argument) | `RemoveFuncCallArgRector` | Ported |
| [`lint/refactor/remove-function-call`](/docs/rules/lint/refactor/remove-function-call) | `RemoveFuncCallRector` | Ported |
| [`lint/refactor/rename-cast`](/docs/rules/lint/refactor/rename-cast) | `RenameCastRector` | Ported |
| [`lint/refactor/rename-class-constant`](/docs/rules/lint/refactor/rename-class-constant) | `RenameClassConstFetchRector` | Ported |
| [`lint/refactor/rename-constant`](/docs/rules/lint/refactor/rename-constant) | `RenameConstantRector` | Ported |
| [`lint/refactor/rename-function`](/docs/rules/lint/refactor/rename-function) | `RenameFunctionRector` | Ported |
| [`lint/refactor/rename-method`](/docs/rules/lint/refactor/rename-method) | `RenameMethodRector` | Ported |
| [`lint/style/no-sleep-wakeup`](/docs/rules/lint/style/no-sleep-wakeup) | `SleepToSerializeRector`, `WakeupToUnserializeRector` | Ported |
