private static function addLines(array &$lines, $name, $value)
    {
        $newLines = self::multilineQuote($value);

        if (\count($newLines) === 1) {
            $lines[] = $name . ' ' . $newLines[0];
        } else {
            $lines[] = $name . ' ""';

            foreach ($newLines as $line) {
                $lines[] = $line;
            }
        }
    }