Exakat\Analyzer\ZendF\NotInThatPath::analyze PHP Method

analyze() public method

public analyze ( )
    public function analyze()
    {
        // No Zend_Auth in .phtml
        $this->atomIs('Staticmethodcall')->outIs('CLASS')->fullnspathIs('\\Zend_Auth')->goToFile()->regexIs('code', '\\\\.phtml\\$')->back('first');
        $this->prepareQuery();
        //Zend_Controller_Action must be in /controllers/ path
        $this->atomIs('Class')->analyzerIs('ZendF/IsController')->goToFile()->regexIsNot('code', '/controllers/')->back('first');
        $this->prepareQuery();
        //classes in /controllers/ path must be Zend_Controller_Action ?
        //Zend_View_Helper_Abstract must be in /helpers/ folder
        $this->atomIs('Class')->analyzerIs('ZendF/IsHelper')->goToFile()->regexIsNot('code', '/helpers/')->back('first');
        $this->prepareQuery();
    }