Skip to content

Rector replaces the array with a callable where it shouldn't be replaced #9687

Description

@mspirkov

Bug Report

Subject Details
Rector version 2.3.8

Rector replaces the array with a callable where it shouldn't be replaced

Minimal PHP Code Causing Issue

https://getrector.com/demo/08ded2f2-958a-44a2-9af4-f3ac6a9c77ab

Expected Behaviour

The code does not change

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions