MIR1011
WrongCaseClass
A class, interface, or enum is referenced with casing that differs from its declaration. PHP class name resolution is case-insensitive at runtime, but consistent casing is expected by autoloaders and static analysis tools.
Example
Section titled “Example”<?phpclass HttpClient {}
$client = new httpclient(); // wrong casing: should be HttpClientHow to fix
Section titled “How to fix”Update the reference to use the exact casing from the class/interface/enum declaration.