doctrine1 icon indicating copy to clipboard operation
doctrine1 copied to clipboard

unused private properties and unused local variables

Open connorhu opened this issue 1 year ago • 2 comments

Because of #118, it came up that I should check how many unused local variables (166) and unused private properties (8) there are. What do you think, is the test coverage complete enough to remove these variables?

connorhu avatar Feb 05 '24 06:02 connorhu

can phpstan identify those unused private properties?

thePanz avatar Feb 05 '24 09:02 thePanz

UnusedVariableRule can do this, i guess.

connorhu avatar Feb 05 '24 09:02 connorhu