mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
Revert "Don’t complain about incorrectly cased builtin classes"
This reverts commit 20558c603988e8d28107539f524aba181a07f5d7.
This commit is contained in:
parent
20558c6039
commit
b438e4c305
@ -888,8 +888,7 @@ abstract class ClassLikeChecker extends SourceChecker implements StatementsSourc
|
||||
return null;
|
||||
}
|
||||
|
||||
if (ClassLikeChecker::isUserDefined($fq_class_name) &&
|
||||
($class_exists && !ClassChecker::hasCorrectCasing($fq_class_name, $file_checker)) ||
|
||||
if (($class_exists && !ClassChecker::hasCorrectCasing($fq_class_name, $file_checker)) ||
|
||||
($interface_exists && !InterfaceChecker::hasCorrectCasing($fq_class_name, $file_checker))
|
||||
) {
|
||||
if (IssueBuffer::accepts(
|
||||
|
Loading…
x
Reference in New Issue
Block a user