Skip to content

Various Workflow classes are declared final without any apparent reason. #36358

@ghost

Description

Symfony version(s) affected: 5.0.7

Description

Various classes in symfony/workflow are decleared final, preventing extension. For example I cannot extend Symfony\Component\Workflow\MarkingStore\MethodMarkingStore to account for 0 values which are valid in my case.

How to reproduce

Try extending Symfony\Component\Workflow\MarkingStore\MethodMarkingStore

Possible Solution

Remove final declaration from class.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions