->
setIssue($issue) ->
setFlag($flag) ->
setAuthor($author) ->
setAuthorEmail($authorEmail) ->
setAuthorGitHub($authorGithub);
$IOHelper->
section('Generating: '
);
$target =
$this->generator->
generate($template,
$date,
$input->
getOption('dry-run'
));
$IOHelper->
newLine();
$IOHelper->
success('The changelog was generated successfully'
);
$IOHelper->
note($target);
return self::SUCCESS;
} /**
* @return array{date: string, author: string, authorEmail: string, authorGithub: string}
*/
private function getDefaultData(): array
{ $process =
new Process(['git', 'config', 'user.name'
]);
$process->
run();