4.2.47. Use Available Alias

Apply systematically the use expression in the code.

4.2.47.1. Before

<?php
    use A\B\C as D;
    new A\B\C();
?>

4.2.47.2. After

<?php
    use A\B\C as D;
    new D();
?>

4.2.47.3. Suggested Analysis

4.2.47.4. Specs

Short Name

Namespaces/UseAlias

Exakat version

2.3.0

Available in

Entreprise Edition, Exakat Cloud