protected function parseLineNumber($lines) {
    $number = 0;

    foreach ($lines as $k => $line) {
      if (strpos($line, '----') === 0) {
        $string = trim($lines[$k - 1]);
        $string = explode('|', $string);
        $number = trim($string[0]);
        break;
      }
    }

    return (int) $number;
  }