Skip to content

[DeadCode] Skip used by ReflectionMethod as array callable on RemoveUnusedPrivateMethodParameterRector#8198

Closed
samsonasik wants to merge 2 commits into
mainfrom
skip-use-as-arry-callable
Closed

[DeadCode] Skip used by ReflectionMethod as array callable on RemoveUnusedPrivateMethodParameterRector#8198
samsonasik wants to merge 2 commits into
mainfrom
skip-use-as-arry-callable

Conversation

@samsonasik

Copy link
Copy Markdown
Member

@samsonasik
samsonasik requested a review from TomasVotruba July 21, 2026 06:17
@samsonasik

Copy link
Copy Markdown
Member Author

@TomasVotruba ready 👍

@TomasVotruba

Copy link
Copy Markdown
Member

Where is this fixture coming from? Not sure if worth checking, as traversing whole class is costly.

@samsonasik

Copy link
Copy Markdown
Member Author

@TomasVotruba

Copy link
Copy Markdown
Member

I see. Test fixture with these hacks should be skipped, as they violate most of dead-code rules.
Running this on every single class would not bring any value to production code at cost of speed and complexity.

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.

2 participants