Bug Report
| Subject |
Details |
| Rector version |
2.5.2 |
Rector removes class imports that are specified only in inline tags @see. This happens in @param, @var, @return, and in the description of a class, method, or property.
Minimal PHP Code Causing Issue
Demo: https://getrector.com/demo/8c0c0d34-ab18-4c07-b8d5-7e3a4cb97b65
Expected Behaviour
Class imports are not deleted.
Bug Report
Rector removes class imports that are specified only in inline tags
@see. This happens in@param,@var,@return, and in the description of a class, method, or property.Minimal PHP Code Causing Issue
Demo: https://getrector.com/demo/8c0c0d34-ab18-4c07-b8d5-7e3a4cb97b65
Expected Behaviour
Class imports are not deleted.