mirror of
https://github.com/danog/psalm.git
synced 2024-11-29 20:28:59 +01:00
Casing checker: Ignore call / call static (#3939)
This commit is contained in:
parent
c5f71b669c
commit
20ab8ee736
@ -53,6 +53,10 @@ class FunctionCasingChecker implements AfterFunctionCallAnalysisInterface, After
|
||||
return;
|
||||
}
|
||||
|
||||
if ($function_storage->cased_name === '__callStatic') {
|
||||
return;
|
||||
}
|
||||
|
||||
if ($function_storage->cased_name !== (string)$expr->name) {
|
||||
if (\Psalm\IssueBuffer::accepts(
|
||||
new IncorrectFunctionCasing(
|
||||
|
Loading…
Reference in New Issue
Block a user