protected function addNewAuthors(array $lines, array $newAuthors, array $emptyLines, $lastAuthor, $indention)
    {
        if (empty($newAuthors)) {
            return $lines;
        }

        // Fill the gaps we just made.
        foreach ($emptyLines as $number) {
            if (null === $author = \array_shift($newAuthors)) {
                break;
            }
            $lines[$number] = $indention . $author;
        }

        if ((int) $lastAuthor === 0) {
            $lastAuthor = (\count($lines) - 2);
        }
        if (0 === ($count = count($newAuthors))) {
            return $lines;
        }
        // Still not empty, we have mooooore.
        $lines = array_merge(
            array_slice($lines, 0, ++$lastAuthor),
            array_fill(0, $count, null),
            array_slice($lines, $lastAuthor)
        );

        while ($author = \array_shift($newAuthors)) {
            $lines[$lastAuthor++] = $indention . $author;
        }

        return $lines;
    }