Skip to content

Use PhpVersion constants directly instead of deprecated PhpVersionFeature - #813

Merged
TomasVotruba merged 1 commit into
mainfrom
tv-deprecate-pvf
Oct 25, 2026
Merged

TomasVotruba merged 1 commit into
mainfrom
tv-deprecate-pvf

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

PhpVersionFeature is being deprecated in rector-src in favour of the underlying PhpVersion::* constants (see rectorphp/rector-src#8839). Each PhpVersionFeature constant was only an alias for a PhpVersion::PHP_XX int, so this swaps all usages to PhpVersion::* directly.

@TomasVotruba
TomasVotruba merged commit b9df3d7 into main Oct 25, 2026
8 checks passed
@TomasVotruba
TomasVotruba deleted the tv-deprecate-pvf branch October 25, 2026 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant