Open Morgy93 opened 4 months ago
Hello,
I'd love to have a feature where it shows and is able to remove unused constructor-based dependency injections (DI).
For example:
public function __construct( private readonly \Some\Class $someClass, ) { }
If $this->someClass is nowhere found in the code, I'd like to have some "this DI is not used, do you want to remove?"-Feature.
$this->someClass
There's a feature for "Remove Unused Uses" and that would be great for the DI stuff as well. 😊
Good idea!
Hello,
I'd love to have a feature where it shows and is able to remove unused constructor-based dependency injections (DI).
For example:
If
$this->someClass
is nowhere found in the code, I'd like to have some "this DI is not used, do you want to remove?"-Feature.There's a feature for "Remove Unused Uses" and that would be great for the DI stuff as well. 😊