Skip to content

[Transform] Deprecate MethodCallToFuncCallRector as niche and context-dependent - #8769

Merged
TomasVotruba merged 1 commit into
mainfrom
deprecate-method-call-to-func-call
Oct 22, 2026
Merged

TomasVotruba merged 1 commit into
mainfrom
deprecate-method-call-to-func-call

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Deprecates MethodCallToFuncCallRector.

Changing a method call to a function call is niche and depends heavily on project context, so the generic rule is replaced by a @deprecated notice pointing users to a custom rule.

  • rule gutted, implements DeprecatedInterface, refactor() throws
  • value object kept (marked @api) so existing configs still resolve
  • tests removed

@TomasVotruba
TomasVotruba merged commit 16f1c54 into main Oct 22, 2026
49 checks passed
@TomasVotruba
TomasVotruba deleted the deprecate-method-call-to-func-call branch October 22, 2026 11: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