rector/php85 set
Rector’s php85 set: the Pun lint rules its Rector rules map to, and nothing else.
[lint]
sets = ["rector/php85"]
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 (15)
| Rule | Rector rules | Status |
|---|---|---|
lint/php-8.5/no-finfo-buffer-context |
RemoveFinfoBufferContextArgRector |
Ported |
lint/php-8.5/no-null-array-key |
ArrayKeyExistsNullToEmptyStringRector |
Ported |
lint/php-8.5/no-null-debug-info |
NullDebugInfoReturnRector |
Ported |
lint/php-8.5/no-out-of-range-chr |
ChrArgModuloRector |
Ported |
lint/php-8.5/prefer-array-first-last |
ArrayFirstLastRector |
Ported |
lint/php-8.5/prefer-ord-first-byte |
OrdSingleByteRector |
Ported |
lint/refactor/add-override-attribute |
AddOverrideAttributeToOverriddenPropertiesRector |
Ported |
lint/refactor/remove-function-argument |
RemoveFuncCallArgRector |
Ported |
lint/refactor/remove-function-call |
RemoveFuncCallRector |
Ported |
lint/refactor/rename-cast |
RenameCastRector |
Ported |
lint/refactor/rename-class-constant |
RenameClassConstFetchRector |
Ported |
lint/refactor/rename-constant |
RenameConstantRector |
Ported |
lint/refactor/rename-function |
RenameFunctionRector |
Ported |
lint/refactor/rename-method |
RenameMethodRector |
Ported |
lint/style/no-sleep-wakeup |
SleepToSerializeRector, WakeupToUnserializeRector |
Ported |