-
-
Notifications
You must be signed in to change notification settings - Fork 742
Closed
rectorphp/rector-src
#7066Labels
Description
Bug Report
| Subject | Details |
|---|---|
| Rector version | e.g. v2.1.1 (invoke vendor/bin/rector --version) |
RectorConfigBuilderRector seems to miss some cases
Minimal PHP Code Causing Issue
RectorConfig->import() prevents migration of config:
https://getrector.com/demo/f0a99006-7838-45b8-ac68-28e0739bf034
same problem with RectorConfig->importNames():
https://getrector.com/demo/b6a5c575-0d3e-482e-ab05-f4147f3d3992
and also same problem with RectorConfig->removeUnusedImports():
https://getrector.com/demo/8be82cd5-a074-4555-b2f2-1a6ec376ea43
Expected Behaviour
example cases should be migrated to new config format
Reactions are currently unavailable