Closed OskarStark closed 8 months ago
Hi, this makes sense. If class contains one of specific list of attributes, it should be skipped :+1:
Closing for lack of feedback, to keep issue tracker focus on unclear issues that needs our attention.
Feel free to send PR with the feature :+1:
Thank you for understanding :slightly_smiling_face:
Implemented in https://github.com/TomasVotruba/class-leak/pull/33
The
symfony/messenger
uses an attribute#[AsMessageHandler]
. If this attribute is used and/orMessageHandlerInterface
is implemented, the class should not be marked as leakedWhat about having specific rule sets for frameworks like Symfony and Laravel?