Skip to content

Does not handle symfony/workflow attributes #226

@martiis

Description

@martiis

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions