Skip to content

Undefined variable error introduced in v2.11.15 #300

Closed
@srtfisher

Description

@srtfisher

Hi 👋

I happened to upgrade to v2.11.15 just now and PHPCS is reporting an undefined variable for case where a variable is defined. Here's an example:

https://gist.github.com/srtfisher/920bdcbfc4acde5b4c2bb17c9d3f5d30

In that gist L20 only throws the error. It seems defined on L18 and L23.

Thank you!

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