Sstalle\php7cc\Infrastructure\PHP7CCCommand::configure PHP Метод

configure() защищенный Метод

protected configure ( )
    protected function configure()
    {
        $this->setName(static::COMMAND_NAME)->setDescription('Checks PHP 5.3 - 5.6 code for compatibility with PHP7')->addArgument(static::PATHS_ARGUMENT_NAME, InputArgument::REQUIRED | InputArgument::IS_ARRAY, 'Which file or directory do you want to check?')->addOption(static::EXTENSIONS_OPTION_NAME, 'e', InputOption::VALUE_OPTIONAL, 'Which file extensions do you want to check (separate multiple extensions with commas)?', 'php')->addOption(static::EXCEPT_OPTION_NAME, 'x', InputOption::VALUE_OPTIONAL | InputOption::VALUE_IS_ARRAY, 'Excluded files and directories', array())->addOption(static::MESSAGE_LEVEL_OPTION_NAME, 'l', InputOption::VALUE_REQUIRED, 'Only show messages having this or higher severity level (can be info, message or warning)', 'info')->addOption(static::RELATIVE_PATHS_OPTION_NAME, 'r', InputOption::VALUE_NONE, 'Output paths relative to a checked directory instead of full paths to files')->addOption(static::INT_SIZE_OPTION_NAME, null, InputOption::VALUE_REQUIRED, 'Target system\'s integer size in bits (needed for bitwise shift checks)', BitwiseShiftVisitor::MIN_INT_SIZE);
    }