Skip to content

Use PhpVersion constants directly instead of deprecated PhpVersionFeature - #540

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.

Keeps CI green once the rector-src deprecation lands.

@TomasVotruba
TomasVotruba merged commit 34b412b into main Oct 25, 2026
8 checks passed
@TomasVotruba
TomasVotruba deleted the tv-deprecate-pvf branch October 25, 2026 22:59
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