It is possible to listen to symfony/workflow events by declaring event listeners with the following attributes:
AsAnnounceListener, AsCompletedListener, AsEnterListener, AsEnteredListener, AsGuardListener, AsLeaveListener, AsTransitionListener.
https://github.com/symfony/symfony/tree/01f0faf9c332bda3d63e4dce05e4deaf8491cf2b/src/Symfony/Component/Workflow/Attribute
When used these attributes this library still marks these methods as unused. From the looks of it, we are probably missing some logic here https://github.com/shipmonk-rnd/dead-code-detector/blob/master/src/Provider/SymfonyUsageProvider.php#L355
It is possible to listen to symfony/workflow events by declaring event listeners with the following attributes:
AsAnnounceListener,AsCompletedListener,AsEnterListener,AsEnteredListener,AsGuardListener,AsLeaveListener,AsTransitionListener.https://github.com/symfony/symfony/tree/01f0faf9c332bda3d63e4dce05e4deaf8491cf2b/src/Symfony/Component/Workflow/Attribute
When used these attributes this library still marks these methods as unused. From the looks of it, we are probably missing some logic here https://github.com/shipmonk-rnd/dead-code-detector/blob/master/src/Provider/SymfonyUsageProvider.php#L355