JMOlivas\Phpqa\Command\AnalyzeCommand::configure PHP Method

configure() protected method

protected configure ( )
    protected function configure()
    {
        $this->setName('analyze')->setDescription('Analyze code')->addOption('project', null, InputOption::VALUE_OPTIONAL, sprintf('Project name must be (%s) or could be empty if a phpqa.yml or phpqa.yml.dist exists at current directory.', implode(',', $this->projects)))->addOption('files', null, InputOption::VALUE_OPTIONAL | InputOption::VALUE_IS_ARRAY, 'File(s) to analyze')->addOption('git', null, InputOption::VALUE_NONE, 'All files added to git index will be analyzed.');
    }