protected function plines()
{
$lnum = 1;
if ($this->config->report_on('C') || $this->config->report_on('F')) {
foreach (file($this->node->file) as $_) {
$len = mb_strlen($_);
if ($this->config->match_rule('CON_LINE_LENGTH', $len)) {
$this->report('CON_LINE_LENGTH', $len, $lnum);
}
if ($this->config->report_on('F') && preg_match('/^(\\s+)[^\\s]+$/u', $_, $m)) {
$t = trim($m[1], "\t");
$s = trim($m[1], " ");
if ($t && $s) {
$this->report('FMT_MIXED_SPACES_TABS', null, $lnum);
}
}
$lnum++;
}
if ($this->config->match_rule('REF_FILE_LENGTH', $lnum)) {
$this->report('REF_FILE_LENGTH', $lnum);
}
}
}