mirror of
https://github.com/danog/psalm.git
synced 2024-12-13 09:47:29 +01:00
😓
This commit is contained in:
parent
a4356089ef
commit
27faf9502e
@ -18,6 +18,8 @@ class EmptyAnalyzer
|
||||
) : void {
|
||||
IssetAnalyzer::analyzeIssetVar($statements_analyzer, $stmt->expr, $context);
|
||||
|
||||
$codebase = $statements_analyzer->getCodebase();
|
||||
|
||||
if (isset($codebase->config->forbidden_functions['empty'])) {
|
||||
if (IssueBuffer::accepts(
|
||||
new ForbiddenCode(
|
||||
|
Loading…
Reference in New Issue
Block a user