Skip to content

CodeStyleCommand

Felipe Sayão Lobato Abreu edited this page Mar 24, 2026 · 0 revisions

Constants

Constant Visibility Type Value
CONFIG public 'ecs.php'

Methods

configure

protected configure(): void

execute

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

Inherited methods

__construct

public __construct(\Symfony\Component\Filesystem\Filesystem|null $filesystem = null): mixed

Parameters:

Parameter Type Description
$filesystem \Symfony\Component\Filesystem\Filesystem|null

runProcess

protected runProcess(\Symfony\Component\Process\Process $command, \Symfony\Component\Console\Output\OutputInterface $output): int

Parameters:

Parameter Type Description
$command \Symfony\Component\Process\Process
$output \Symfony\Component\Console\Output\OutputInterface

getCurrentWorkingDirectory

protected getCurrentWorkingDirectory(): string

getAbsolutePath

protected getAbsolutePath(string $relativePath): string

Parameters:

Parameter Type Description
$relativePath string

getConfigFile

protected getConfigFile(string $filename, bool $force = false): string

Parameters:

Parameter Type Description
$filename string
$force bool

runCommand

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

Parameters:

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

getPsr4Namespaces

protected getPsr4Namespaces(): array

getTitle

protected getTitle(): string

Clone this wiki locally