Skip to content

StandardsCommand

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

Executes the full suite of Fast Forward code standard checks.

This class MUST NOT be modified through inheritance and SHALL streamline code validation workflows.


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

Methods

configure

Configures constraints and arguments for the collective standard runner.

protected configure(): void

This method MUST specify definitions and help texts appropriately. It SHALL expose an optional --fix mode.


execute

Evaluates multiple commands seamlessly in a sequential execution.

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

The method MUST trigger refactoring, phpdoc generation, code styling, and reports building block consecutively. It SHALL reliably return a standard SUCCESS execution state on completion.

Parameters:

Parameter Type Description
$input \Symfony\Component\Console\Input\InputInterface internal input arguments retrieved via terminal runtime constraints
$output \Symfony\Component\Console\Output\OutputInterface external output mechanisms

Return Value:

the status indicator describing the completion


Clone this wiki locally