Closed DanielSiepmann closed 3 years ago
@DanielSiepmann This is also something related to Rector itself. Please open up an issue there or try to solve this with a CS-Fixer like https://github.com/FriendsOfPHP/PHP-CS-Fixer or https://github.com/symplify/easy-coding-standard. That´s the way i do it.
Under some conditions a new introduced
use
statement is added somewhere else in the file, even if there are existinguse
statements. I would expect it to be part of the existing block of statements.But I also think this is not important, only happens under some conditions, and should be the task of some cgl tool anyway.
We got the following result:
For the following File: