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

analyze() public method

public analyze ( )
    public function analyze()
    {
        // Catch inside a function
        $this->atomIs('Catch')->outIs('VARIABLE')->savePropertyAs('code', 'catchVariable')->goToFile()->outIs('FILE')->atomInside('Variable')->samePropertyAs('code', 'catchVariable')->hasNoIn('VARIABLE')->hasNoCatch()->back('first');
        $this->prepareQuery();
    }
CatchShadowsVariable