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

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

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

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

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

| Rule | Rector rules | Status |
| --- | --- | --- |
| [`lint/operators/prefer-coalesce-assign`](/docs/rules/lint/operators/prefer-coalesce-assign) | `NullCoalescingOperatorRector` | Ported |
| [`lint/php-7.4/add-null-property-default`](/docs/rules/lint/php-7-4/add-null-property-default) | `RestoreDefaultNullToNullableTypePropertyRector` | Ported |
| [`lint/php-7.4/no-array-key-exists-on-object`](/docs/rules/lint/php-7-4/no-array-key-exists-on-object) | `ArrayKeyExistsOnPropertyRector` | Ported |
| [`lint/php-7.4/no-filter-magic-quotes`](/docs/rules/lint/php-7-4/no-filter-magic-quotes) | `FilterVarToAddSlashesRector` | Ported |
| [`lint/php-7.4/no-hebrevc`](/docs/rules/lint/php-7-4/no-hebrevc) | `HebrevcToNl2brHebrevRector` | Ported |
| [`lint/php-7.4/no-mb-strrpos-encoding-offset`](/docs/rules/lint/php-7-4/no-mb-strrpos-encoding-offset) | `MbStrrposEncodingArgumentPositionRector` | Ported |
| [`lint/php-7.4/no-money-format`](/docs/rules/lint/php-7-4/no-money-format) | `MoneyFormatToNumberFormatRector` | Ported |
| [`lint/php-7.4/no-reflection-export`](/docs/rules/lint/php-7-4/no-reflection-export) | `ExportToReflectionFunctionRector` | Ported |
| [`lint/php-7.4/no-restore-include-path`](/docs/rules/lint/php-7-4/no-restore-include-path) | `RestoreIncludePathToIniRestoreRector` | Ported |
| [`lint/php-7.4/prefer-arrow-function`](/docs/rules/lint/php-7-4/prefer-arrow-function) | `ClosureToArrowFunctionRector` | Ported |
| [`lint/php-7.4/prefer-coalesce-assign-over-if`](/docs/rules/lint/php-7-4/prefer-coalesce-assign-over-if) | `IfToNullCoalescingAssignRector` | Ported |
| [`lint/refactor/rename-cast`](/docs/rules/lint/refactor/rename-cast) | `RenameCastRector` | Ported |
| [`lint/refactor/rename-function`](/docs/rules/lint/refactor/rename-function) | `RenameFunctionRector` | Ported |
| [`lint/style/require-implode-separator`](/docs/rules/lint/style/require-implode-separator) | `ConsistentImplodeRector` | Ported |
