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

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

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

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

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

| Rule | Rector rules | Status |
| --- | --- | --- |
| [`lint/classes/prefer-self-in-final`](/docs/rules/lint/classes/prefer-self-in-final) | `StaticToSelfOnFinalClassRector` | Ported |
| [`lint/php-5.5/no-class-magic-constant`](/docs/rules/lint/php-5-5/no-class-magic-constant) | `ClassConstantToSelfClassRector` | Ported |
| [`lint/php-5.5/prefer-self-over-get-called-class`](/docs/rules/lint/php-5-5/prefer-self-over-get-called-class) | `GetCalledClassToSelfClassRector` | Ported |
| [`lint/php-5.5/prefer-static-over-get-called-class`](/docs/rules/lint/php-5-5/prefer-static-over-get-called-class) | `GetCalledClassToStaticClassRector` | Ported |
| [`lint/style/prefer-class-constant`](/docs/rules/lint/style/prefer-class-constant) | `StringClassNameToClassConstantRector` | Ported |
