Skip to content

[CodeQuality] Deprecate MoveInnerFunctionToTopLevelRector as niche rule, not part of PHP upgrade path - #8616

Merged
TomasVotruba merged 1 commit into
mainfrom
deprecate-move-inner-function
Oct 10, 2026
Merged

TomasVotruba merged 1 commit into
mainfrom
deprecate-move-inner-function

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Inner-function to top-level moving is a niche case, not part of any PHP upgrade path. Better served by a custom rule.

Deprecates MoveInnerFunctionToTopLevelRector:

  • implements DeprecatedInterface, refactor() throws
  • removed from CodeQualityLevel set
  • dropped its tests

@TomasVotruba
TomasVotruba merged commit df81b1c into main Oct 10, 2026
49 checks passed
@TomasVotruba
TomasVotruba deleted the deprecate-move-inner-function branch October 10, 2026 23:16
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