public function _lint()
{
if ($this->node->empty) {
$this->report('WAR_EMPTY_FUNCTION');
}
if (!$this->node->dochead) {
$this->report('DOC_NO_DOCHEAD_FUNCTION');
}
$this->process_tokens();
if (!(substr($this->node->name, 0, 2) == '__')) {
if ($this->config->match_rule('CON_FUNCTION_NAME', $this->node->name)) {
$this->report('CON_FUNCTION_NAME', $this->node->name);
}
}
return $this->reports;
}