with docker as it's a php 7.0 project processed: rector/rector:latest from this week
On this project, we are migrating Symfony version, but even with a minimal set, I can reproduce the bug, the rector [applying] Rector\Renaming\Rector\Class_\RenameClassRector is applied many time on the file, and is the only one.
Bug Report
On this project, we are migrating Symfony version, but even with a minimal set, I can reproduce the bug, the rector
[applying] Rector\Renaming\Rector\Class_\RenameClassRector
is applied many time on the file, and is the only one.rector.yml file:
Minimal PHP Code Causing Issue
I try to reproduce here https://getrector.org/demo/289ca160-fe8b-4cfd-bef4-463c5804761b#result but it fails due to missing extension.
Boggus transformation:
Expected Behaviour
All the Gedmo annotation properties should be kept, but some are removed or transformed without any reason.