Skip to content

incorrect warnings in array destructuring assignment #48

Closed
@enotsimon

Description

@enotsimon

this code
[$a, $b] = [1, 2];
cause fail warnings

Variable $a is undefined.
Variable $b is undefined.

version is: 2.1.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions