Skip to content

[Transform] Deprecate FuncCallToNewRector as niche, never used and needs context - #8776

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

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

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.

Write a custom rule for the exact project case instead.

@TomasVotruba
TomasVotruba force-pushed the tv-deprecate-func-call-to-new branch from d8bb5ba to 38d4db3 Compare October 22, 2026 19:53
@TomasVotruba
TomasVotruba merged commit 853b91e into main Oct 22, 2026
49 checks passed
@TomasVotruba
TomasVotruba deleted the tv-deprecate-func-call-to-new branch October 22, 2026 19:55
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