Skip to content
Esc
↑↓navigate↵open⌘Jpreview
On this page

rector/php53 set

Rector’s php53 set: the Pun lint rules its Rector rules map to, and nothing else.

[lint]
sets = ["rector/php53"]

A rule merged from several Rector rules runs only the rewrites of this set’s Rector rules, unless a preset 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.

Rules (3)

Rule Rector rules Status
lint/php-5.3/no-http-vars ReplaceHttpServerVarsByServerRector Ported
lint/style/prefer-dir-constant DirNameFileConstantToDirConstantRector Ported
lint/style/prefer-short-ternary TernaryToElvisRector Ported

Last updated on

Was this page helpful?