Exakat\Analyzer\Structures\ImplicitGlobal::analyze PHP Метод

analyze() публичный Метод

public analyze ( )
    public function analyze()
    {
        $superglobals = $this->loadIni('php_superglobals.ini', 'superglobal');
        $globalGlobal = $this->query('g.V().hasLabel("Global").out("GLOBAL")
.where( repeat(__.in(' . $this->linksDown . ')).until(hasLabel("File")).emit().hasLabel("Function").count().is(eq(0)) )
.values("code").unique()');
        $this->atomIs('Global')->hasFunction()->outIs('GLOBAL')->tokenIs('T_VARIABLE')->codeIsNot($globalGlobal)->codeIsNot($superglobals);
        $this->prepareQuery();
    }
ImplicitGlobal