Skip to content

[PHP 8.5] Convert @deprecated to #[\Deprecated] on constants#7155

Merged
samsonasik merged 1 commit intorectorphp:mainfrom
DanielEScherzer:deprecated-constants
Aug 20, 2025
Merged

[PHP 8.5] Convert @deprecated to #[\Deprecated] on constants#7155
samsonasik merged 1 commit intorectorphp:mainfrom
DanielEScherzer:deprecated-constants

Conversation

@DanielEScherzer
Copy link
Contributor

@DanielEScherzer DanielEScherzer commented Aug 20, 2025

Based on the PHP 8.4 rule from #6923, logic was moved to a new DeprecatedAnnotationToDeprecatedAttributeConverter service to avoid duplication.

Based on the PHP 8.4 rule from rectorphp#6923, logic was moved to a new
`DeprecatedAnnotationToDeprecatedAttributeConverter` service to avoid
duplication.
@samsonasik
Copy link
Member

Looks good, thank you @DanielEScherzer

@samsonasik samsonasik merged commit c5876ad into rectorphp:main Aug 20, 2025
49 checks passed
@DanielEScherzer DanielEScherzer deleted the deprecated-constants branch August 20, 2025 14:39
@github-actions
Copy link
Contributor

This pull request has been automatically locked because it has been closed for 150 days. Please open a new PR if you want to continue the work.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants