Skip to content

ChangelogNextVersionCommand

github-actions edited this page Apr 19, 2026 · 1 revision

Infers the next semantic version from changelog content.


  • Full name: \FastForward\DevTools\Console\Command\ChangelogNextVersionCommand
  • Parent class: BaseCommand
  • This class is marked as final and can't be subclassed
  • This class is a Final class

Methods

__construct

public __construct(\FastForward\DevTools\Filesystem\FilesystemInterface $filesystem, \FastForward\DevTools\Changelog\Manager\ChangelogManagerInterface $changelogManager): mixed

Parameters:

Parameter Type Description
$filesystem \FastForward\DevTools\Filesystem\FilesystemInterface
$changelogManager \FastForward\DevTools\Changelog\Manager\ChangelogManagerInterface

configure

Configures version inference options.

protected configure(): void

execute

Prints the inferred next semantic version.

protected execute(\Symfony\Component\Console\Input\InputInterface $input, \Symfony\Component\Console\Output\OutputInterface $output): int

Parameters:

Parameter Type Description
$input \Symfony\Component\Console\Input\InputInterface
$output \Symfony\Component\Console\Output\OutputInterface

Clone this wiki locally