public function getBodyWrapLength(): int
    {
        if (count($this->commitMessage) < 3) {
            return 0;
        }

        $body = array_slice($this->commitMessage, 2);
        $longestLineLength = 0;

        foreach ($body as $line) {
            if (strlen($line) > $longestLineLength) {
                $longestLineLength = strlen($line);
            }
        }

        return $longestLineLength;
    }