-
-
Notifications
You must be signed in to change notification settings - Fork 0
ChangelogCheckCommand
github-actions edited this page Apr 22, 2026
·
1 revision
Verifies that the changelog contains pending unreleased notes.
- Full name:
\FastForward\DevTools\Console\Command\ChangelogCheckCommand - Parent class:
BaseCommand - This class is marked as final and can't be subclassed
- This class implements:
\FastForward\DevTools\Console\Command\LoggerAwareCommandInterface - This class is a Final class
public __construct(\FastForward\DevTools\Filesystem\FilesystemInterface $filesystem, \FastForward\DevTools\Changelog\Checker\UnreleasedEntryCheckerInterface $unreleasedEntryChecker, \Psr\Log\LoggerInterface $logger): mixedParameters:
| Parameter | Type | Description |
|---|---|---|
$filesystem |
\FastForward\DevTools\Filesystem\FilesystemInterface | |
$unreleasedEntryChecker |
\FastForward\DevTools\Changelog\Checker\UnreleasedEntryCheckerInterface | |
$logger |
\Psr\Log\LoggerInterface |
Configures changelog verification options.
protected configure(): voidExecutes the changelog verification.
protected execute(\Symfony\Component\Console\Input\InputInterface $input, \Symfony\Component\Console\Output\OutputInterface $output): intParameters:
| Parameter | Type | Description |
|---|---|---|
$input |
\Symfony\Component\Console\Input\InputInterface | |
$output |
\Symfony\Component\Console\Output\OutputInterface |
Adds the standard JSON output options to the current command.
protected addJsonOption(): staticDetermines whether JSON output was requested.
protected isJsonOutput(\Symfony\Component\Console\Input\InputInterface $input): boolThe pretty-json flag SHALL imply JSON output.
Parameters:
| Parameter | Type | Description |
|---|---|---|
$input |
\Symfony\Component\Console\Input\InputInterface |
Determines whether pretty JSON output was requested.
protected isPrettyJsonOutput(\Symfony\Component\Console\Input\InputInterface $input): boolParameters:
| Parameter | Type | Description |
|---|---|---|
$input |
\Symfony\Component\Console\Input\InputInterface |