[PostRector] Skip inline {@see } used use statement on remove unused imports#8080
Conversation
|
Fixed 🎉 /cc @mspirkov |
|
Thanks! |
|
@TomasVotruba ready 👍 |
|
Does this account for |
|
Only for inline |
Should |
|
Could you give example reference? |
|
I can't found anywhere use of inline |
|
@TomasVotruba ready 👍 |
Sorry, I misunderstood that this was specifically for curly braces. Perhaps it's a separate PR that needs created. I upgraded and ran rector yesterday. I had a class like this: namespace MyApp\Interfaces;
use MyApp\Exceptions\NotFoundException;
interface MyService
{
/**
* @throws NotFoundException
*/
public function add(int $id): void;
}Running rector, the edit: Just tried reproducing this and couldn't. 🤔 Sorry for the confusion! |
|
That should already covered by previous PR that skip feature should clear php doc attribute early: Try latest dev-main, if the issue persist, fill free to provide failing fixture on separate PR. Thank you. |
It turns out someone had written Sorry for all the confusion! |
|
@TomasVotruba ready 👍 |
|
Thanks 🙏 |
Fixes rectorphp/rector#9781