Skip to content

UnusedFormalParameter should ignore public "constructor" as same as method. #4769

Answered by adangel
shu1saitohibm asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for bringing this up.

Is this intended behaviour?

I think, that's an oversight in the rule implementation. Constructors should be considered here as well the same way, methods are handled.

I'll create an issue from this discussion. --> #4770

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@shu1saitohibm
Comment options

Answer selected by shu1saitohibm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants