Skip to content

[Transform] Deprecate FuncCallToStaticCallRector as niche, never used and needs context - #8775

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

TomasVotruba merged 1 commit into
mainfrom
tv-deprecate-func-call-to-static-call

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

This rule is too niche, never used in practice and needs project-specific context to configure. It is not part of any set.

Following the deprecation pattern: marks the rule @deprecated + DeprecatedInterface, guts the body to throw, removes its tests. The FuncCallToStaticCall value object stays (marked @api) so existing user configs keep parsing.

Write a custom rule for the exact project case instead.

@TomasVotruba
TomasVotruba enabled auto-merge (squash) October 22, 2026 19:36
@TomasVotruba
TomasVotruba disabled auto-merge October 22, 2026 19:39
@TomasVotruba
TomasVotruba merged commit 961feaf into main Oct 22, 2026
49 checks passed
@TomasVotruba
TomasVotruba deleted the tv-deprecate-func-call-to-static-call branch October 22, 2026 19:40
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