===description===
psr4 new via use as alias no error
===file:composer.json===
{"autoload":{"psr-4":{"App\\":"src/"}}}
===file:src/Model/Entity.php===
<?php
namespace App\Model;
class Entity {}
===file:Service.php===
<?php
use App\Model\Entity as E;
function wrap(): void {
    $x = new E();
}
===expect===
Service.php: UnusedVariable@4:4: Variable $x is never read
