private function createTempFileWithContents(string $contents) : string
    {
        $filename = sprintf('%s.md', uniqid('KAC', true));
        $path = sprintf('%s/%s', sys_get_temp_dir(), $filename);
        file_put_contents($path, $contents);
        return $path;
    }
private function createTempFileWithContents(string $contents) : string
    {
        $filename = sprintf('%s.md', uniqid('KAC', true));
        $path = sprintf('%s/%s', sys_get_temp_dir(), $filename);
        file_put_contents($path, $contents);
        return $path;
    }
private function createTempFileWithContents ( string $ contents ) : string { $ filename = sprintf ( '%s.md' , uniqid ( 'KAC' , true ) ) ; $ path = sprintf ( '%s/%s' , sys_get_temp_dir ( ) , $ filename ) ; file_put_contents ( $ path , $ contents ) ; return $ path ; }
Creates a temporary file with the changelog contents.
Creates a temporary file with the changelog contents .