Skip to content

Respect self when ranaming #9713

@sreichel

Description

@sreichel

Bug Report

Subject Details
Rector version 2.3.9
Rule ReplaceArgumentDefaultValueRector

Minimal PHP Code Causing Issue

https://getrector.com/demo/adb93c29-5349-4103-b049-762b4aee9053

Expected Behaviour

See demo. No change in class "Base"

(example is with constant, but should also work with property/enum?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions