src/Console/Command/RunCommand.php
protected function configure()
    {
        $this->setName('run');
        $this->setDescription('Checks code against coding standard.');
        $this->addArgument(
            'source',
            InputArgument::REQUIRED | InputArgument::IS_ARRAY,
            'Files or directories to process.'
        );
        $this->addOption('fix', null, null, 'Fix all fixable errors.');
        $this->addArrayOption('standards', 'List of coding standards to use.');
        $this->addArrayOption('sniffs', 'List of sniff codes to use.');
        $this->addArrayOption('exclude-sniffs', 'List of sniff codes to be excluded.');
    }
protected function configure()
    {
        $this->setName('run');
        $this->setDescription('Checks code against coding standard.');
        $this->addArgument(
            'source',
            InputArgument::REQUIRED | InputArgument::IS_ARRAY,
            'Files or directories to process.'
        );
        $this->addOption('fix', null, null, 'Fix all fixable errors.');
        $this->addArrayOption('standards', 'List of coding standards to use.');
        $this->addArrayOption('sniffs', 'List of sniff codes to use.');
        $this->addArrayOption('exclude-sniffs', 'List of sniff codes to be excluded.');
    }
protected function configure ( ) { $ this -> setName ( 'run' ) ; $ this -> setDescription ( 'Checks code against coding standard.' ) ; $ this -> addArgument ( 'source' , InputArgument :: REQUIRED | InputArgument :: IS_ARRAY , 'Files or directories to process.' ) ; $ this -> addOption ( 'fix' , null , null , 'Fix all fixable errors.' ) ; $ this -> addArrayOption ( 'standards' , 'List of coding standards to use.' ) ; $ this -> addArrayOption ( 'sniffs' , 'List of sniff codes to use.' ) ; $ this -> addArrayOption ( 'exclude-sniffs' , 'List of sniff codes to be excluded.' ) ; }
{@inheritdoc}
{