Skip to content

[deprecation] Deprecate CallUserFuncWithArrowFunctionToInlineRector as niche rule, not part of PHP upgrade path - #8615

Merged
TomasVotruba merged 1 commit into
mainfrom
deprecate-call-user-func-arrow-function
Oct 10, 2026
Merged

TomasVotruba merged 1 commit into
mainfrom
deprecate-call-user-func-arrow-function

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Deprecates CallUserFuncWithArrowFunctionToInlineRector.

It handles a niche call_user_func() with arrow function case that is hardly practical and not part of the PHP upgrade path. Following the same deprecation pattern as #8610 and #8611:

  • rule body gutted to throw ShouldNotHappenException, marked @deprecated and implements DeprecatedInterface
  • removed from CodeQualityLevel set
  • removed its tests

@TomasVotruba TomasVotruba changed the title [CodeQuality] Deprecate CallUserFuncWithArrowFunctionToInlineRector as niche rule, not part of PHP upgrade path [deprecation] Deprecate CallUserFuncWithArrowFunctionToInlineRector as niche rule, not part of PHP upgrade path Oct 10, 2026
@TomasVotruba
TomasVotruba enabled auto-merge (squash) October 10, 2026 23:13
@TomasVotruba
TomasVotruba merged commit 0bc5a46 into main Oct 10, 2026
49 checks passed
@TomasVotruba
TomasVotruba deleted the deprecate-call-user-func-arrow-function branch October 10, 2026 23:13
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