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