Skip to content

GrumPHP not anchoring patterns, which yields false-positives #153

@cbj4074

Description

@cbj4074

See:

https://github.com/indiehd/web-api/pull/151/files#diff-8d9043f013ef22f82e6536bdbbeb23e0R64

Basically, it seems that GrumPHP's pattern-matching mechanism does not anchor the patterns, so the filter string dd() would match both functions dd() and add(). That's problematic if true, and an Issue should be opened in the Grum repository accordingly.

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