Skip to content

Use PhpVersion constant directly instead of deprecated PhpVersionFeature - #1095

Merged
TomasVotruba merged 1 commit into
mainfrom
tv-fix-deprecated-attributes-constant
Oct 27, 2026
Merged

TomasVotruba merged 1 commit into
mainfrom
tv-fix-deprecated-attributes-constant

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Follow-up to #1091. RequestQueryToMapQueryParameterRector (added in #1089) still used the deprecated PhpVersionFeature::ATTRIBUTES constant, which fails PHPStan on current rector-src and turns main CI red.

PhpVersionFeature::ATTRIBUTES is PhpVersion::PHP_80, so switch to the constant directly.

@TomasVotruba
TomasVotruba merged commit b712565 into main Oct 27, 2026
7 of 9 checks passed
@TomasVotruba
TomasVotruba deleted the tv-fix-deprecated-attributes-constant branch October 27, 2026 20:21
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