Skip to content

Enum string comparison is not strict #133

@loucho

Description

@loucho

I created a pull request for this, right now the check for enums does a normal "==" comparison for enum values, and this is erroneously matching when the strings are numeric:

"604.1" == "604.10" <-- this returns a match, because of the way PHP performs numeric string comparison

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions