|
|
@ -167,11 +167,11 @@ class NodeVisitor extends NodeVisitorAbstract { |
|
|
* $c = "OC_API"; |
|
|
* $c = "OC_API"; |
|
|
* $n = $i::ADMIN_AUTH; |
|
|
* $n = $i::ADMIN_AUTH; |
|
|
*/ |
|
|
*/ |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} else { |
|
|
$this->checkBlackListConstant($node->class->toString(), $node->name, $node); |
|
|
$this->checkBlackListConstant($node->class->toString(), $node->name, $node); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
if ($node instanceof Node\Expr\New_) { |
|
|
if ($node instanceof Node\Expr\New_) { |
|
|
if (!is_null($node->class)) { |
|
|
if (!is_null($node->class)) { |
|
|
if ($node->class instanceof Name) { |
|
|
if ($node->class instanceof Name) { |
|
|
|