Your TransactionType class is in the same namespace as Tax class -- App (FQN: \App\TransactionType & \App\Tax). Such use line is redundant -- if you remove that "use App\Tax;" line the app will keep working.
Ideally that inspection should report "Unnecessary import" straight away instead of "Unused import" (it does say "is not necessary", but it's in details so not super clear/obvious on what that means).
AFAIK there is no option in PhpStorm to disable this for this specific case ATM. I believe there is a ticket for this, but I cannot find it right now.
Hi there,
Your TransactionType class is in the same namespace as Tax class -- App (FQN: \App\TransactionType & \App\Tax). Such use line is redundant -- if you remove that "use App\Tax;" line the app will keep working.
Ideally that inspection should report "Unnecessary import" straight away instead of "Unused import" (it does say "is not necessary", but it's in details so not super clear/obvious on what that means).
AFAIK there is no option in PhpStorm to disable this for this specific case ATM. I believe there is a ticket for this, but I cannot find it right now.