phplinter\Lint\LInterface::_lint PHP Метод

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

----------------------------------------------------------------------+
public _lint ( )
    public function _lint()
    {
        if ($this->config->match_rule('CON_INTERFACE_NAME', $this->node->name)) {
            $this->report('CON_INTERFACE_NAME', $this->node->name);
        }
        $len = $this->node->length;
        if ($this->config->match_rule('REF_CLASS_LENGTH', $len)) {
            $this->report('REF_CLASS_LENGTH', $len);
        }
        if ($this->node->empty) {
            $this->report('WAR_EMPTY_INTERFACE');
        }
        if (!$this->node->dochead) {
            $this->report('DOC_NO_DOCHEAD_INTERFACE');
        }
        $et = $this->node->tokens;
        $locals = array();
        for ($i = 0; $i < $this->node->token_count; $i++) {
            switch ($et[$i][0]) {
                default:
                    $this->common_tokens($i);
                    break;
            }
        }
        if (!empty($this->locals[T_METHOD]) && in_array($this->node->name, $this->locals[T_METHOD])) {
            $this->report('WAR_OLD_STYLE_CONSTRUCT');
        }
        return $this->reports;
    }
LInterface