Skip to content

Property rename does not apply to static:: or self:: calls #9406

@LordSimal

Description

@LordSimal

Bug Report

Subject Details
Rector version 2.2.0

Rector does not rename calls to static::$myprop or self::$myprop when trying to rename a property.

Minimal PHP Code Causing Issue

https://getrector.com/demo/6e3cbe64-d71a-43e2-949f-6680df9b9de9

Expected Behaviour

Calls to static:: and self:: should also be renamed if the property is being renamed.

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