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

rector/php74 set

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

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

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

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

Last updated on

Was this page helpful?