Doctrine Annotation to Attributes Bug report
I guess you're on windows, it probably due to line ending issue ref https://github.com/nikic/PHP-Parser/issues/599
I'm not on Windows, but perhaps the file I was converting was. It was a file from SymfonyCast.
So should I run something first before running rector?
I can't reproduce in macOS, so I guess you're on Linux, right?
If the issue is line ending, it probably needs converting first..., this stackoverflow probably can do this https://askubuntu.com/questions/803162/how-to-change-windows-line-ending-to-unix-version
I've checked the zip now and there is no composer.json. I used Rector 0.13.10 and dev-main and both run well :+1:
Closing as fixed then.
If the same issue happens, please provide demo link: https://getrector.org/demo, so we can see it directly and work around live code. Thank you :slightly_smiling_face: