Skip to content

Incorrect behaviour of RemoveEmptyClassMethodRector #9369

@calebdw

Description

@calebdw

Bug Report

Subject Details
Rector version e.g. v1.0.0 (invoke vendor/bin/rector --version)

Hello!

In the example below, the constructor should be removed but it isn't.

Minimal PHP Code Causing Issue

https://getrector.com/demo/aabe02b5-61af-4109-9972-3af2b4e882f9

Thanks!

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