Skip to content

Ignore dead-method on deprecated ReplaceArgumentDefaultValue value object - #8693

Merged
TomasVotruba merged 1 commit into
mainfrom
tv-shipmonk-skip-deprecated-class
Oct 17, 2026
Merged

TomasVotruba merged 1 commit into
mainfrom
tv-shipmonk-skip-deprecated-class

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

After #8690 switched the ReplaceArgumentDefaultValue value object from @api to @deprecated, its getObjectType()/getMethod() getters lost the @api dead-code whitelist and started reporting as shipmonk.deadMethod (their only caller, ReplaceArgumentDefaultValueRector, was gutted in #8686).

The value object is kept on purpose during its removal window, so this adds a plain ignore in phpstan-deprecated.neon next to the existing SetInterface one - to be dropped once the deprecated API is removed.

@TomasVotruba
TomasVotruba merged commit 47e6442 into main Oct 17, 2026
49 checks passed
@TomasVotruba
TomasVotruba deleted the tv-shipmonk-skip-deprecated-class branch October 17, 2026 19:36
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