Skip to content

DependenciesCommand

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

Orchestrates dependency analysis across the supported Composer analyzers.

This command MUST report missing and unused dependencies using a single, deterministic report that is friendly for local development and CI runs.


  • Full name: \FastForward\DevTools\Console\Command\DependenciesCommand
  • 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\Process\ProcessBuilderInterface $processBuilder, \FastForward\DevTools\Process\ProcessQueueInterface $processQueue, \Symfony\Component\Config\FileLocatorInterface $fileLocator): mixed

Parameters:

Parameter Type Description
$processBuilder \FastForward\DevTools\Process\ProcessBuilderInterface
$processQueue \FastForward\DevTools\Process\ProcessQueueInterface
$fileLocator \Symfony\Component\Config\FileLocatorInterface

execute

Executes the dependency analysis workflow.

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

The command MUST verify the required binaries before executing the tools, SHOULD normalize their machine-readable output into a unified report, and SHALL return a non-zero exit code when findings or execution failures exist.

Parameters:

Parameter Type Description
$input \Symfony\Component\Console\Input\InputInterface the runtime command input
$output \Symfony\Component\Console\Output\OutputInterface the console output stream

Return Value:

the command execution status code


Clone this wiki locally