Skip to content

Feature Request: Possible to add static analysis for UnhandledMatchException #77

@Polar8ear

Description

@Polar8ear

As mentioned above, since php introduced enums and match expression
It will produce a UnhandledMatchException when match expression does not include all enum values. Is it possible to add static analysis on top of this to prevent the runtime error from happening?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions