private function searchAuthor($line, $authors)
    {
        foreach ($authors as $index => $author) {
            list($name, $email) = \explode(' <', $author);

            $name  = \trim($name);
            $email = \trim(\substr($email, 0, -1));
            if ((\strpos($line, $name) !== false) && (\strpos($line, $email) !== false)) {
                unset($authors[$index]);
                return $index;
            }
        }

        return false;
    }