mirror of
https://github.com/danog/psalm.git
synced 2024-12-02 09:37: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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($function_storage->cased_name === '__callStatic') {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if ($function_storage->cased_name !== (string)$expr->name) {
|
if ($function_storage->cased_name !== (string)$expr->name) {
|
||||||
if (\Psalm\IssueBuffer::accepts(
|
if (\Psalm\IssueBuffer::accepts(
|
||||||
new IncorrectFunctionCasing(
|
new IncorrectFunctionCasing(
|
||||||
|
Loading…
Reference in New Issue
Block a user