Exakat\Analyzer\Structures\AlteringForeachWithoutReference::analyze PHP Method

analyze() public method

public analyze ( )
    public function analyze()
    {
        $this->atomIs('Foreach')->outIs('SOURCE')->atomIs('Variable')->savePropertyAs('code', 'source')->inIs('SOURCE')->outIs('VALUE')->atomIs('Keyvalue')->outIs('KEY')->savePropertyAs('code', 'k')->inIs('KEY')->inIs('VALUE')->outIs('BLOCK')->atomInside('Array')->raw('where( __.in("CAST").has("token", "T_UNSET_CAST").count().is(eq(0)) )')->raw('where( __.in("ARGUMENT").in("ARGUMENTS").has("token", "T_UNSET").count().is(eq(0)) )')->outIs('VARIABLE')->analyzerIs('Variables/IsModified')->samePropertyAs('code', 'source')->inIs('VARIABLE')->outIs('INDEX')->samePropertyAs('code', 'k')->back('first');
        $this->prepareQuery();
    }
AlteringForeachWithoutReference