Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 354 Bytes

InvalidClass.md

File metadata and controls

26 lines (19 loc) · 354 Bytes

InvalidClass

Emitted when referencing a class with the wrong casing

<?php

class Foo {}
(new foo());

Could also be an issue in the namespace even if the class has the correct casing

<?php

namespace OneTwo {
    class Three {}
}

namespace {
    use Onetwo\Three;
    //     ^ ("t" instead of "T")

    $three = new Three();
}