src/DunitCommand.php
private function configureOptions()
    {
        $this->addOption(
            self::OPTIONS_KEY_IMAGES,
            'i',
            InputOption::VALUE_OPTIONAL,
            'The list of docker images to use (comma or space delimited).'
        );
        $this->addOption(
            self::OPTIONS_KEY_CONFIGFILE,
            'c',
            InputOption::VALUE_OPTIONAL,
            'The path to the configuration file.'
        );
        $this->addOption(
            self::OPTIONS_KEY_SYNTAX,
            's',
            InputOption::VALUE_OPTIONAL,
            'A flag indicating whether to run syntax checks.'
        );
        $this->addOption(
            self::OPTIONS_KEY_SYNTAXCOMMAND,
            'S',
            InputOption::VALUE_OPTIONAL,
            'The command to run syntax checks.'
        );
        $this->addOption(
            self::OPTIONS_KEY_UNITTESTS,
            'u',
            InputOption::VALUE_OPTIONAL,
            'A flag indicating whether to run the unit test suite.'
        );
        $this->addOption(
            self::OPTIONS_KEY_UNITTESTSCOMMAND,
            'U',
            InputOption::VALUE_OPTIONAL,
            'The command to run the unit tests.'
        );
        $this->addOption(
            self::OPTIONS_KEY_PULL,
            'p',
            InputOption::VALUE_NONE,
            'A flag indicating to pull new images instead of running the linter or unit tests.'
        );
    }
private function configureOptions()
    {
        $this->addOption(
            self::OPTIONS_KEY_IMAGES,
            'i',
            InputOption::VALUE_OPTIONAL,
            'The list of docker images to use (comma or space delimited).'
        );
        $this->addOption(
            self::OPTIONS_KEY_CONFIGFILE,
            'c',
            InputOption::VALUE_OPTIONAL,
            'The path to the configuration file.'
        );
        $this->addOption(
            self::OPTIONS_KEY_SYNTAX,
            's',
            InputOption::VALUE_OPTIONAL,
            'A flag indicating whether to run syntax checks.'
        );
        $this->addOption(
            self::OPTIONS_KEY_SYNTAXCOMMAND,
            'S',
            InputOption::VALUE_OPTIONAL,
            'The command to run syntax checks.'
        );
        $this->addOption(
            self::OPTIONS_KEY_UNITTESTS,
            'u',
            InputOption::VALUE_OPTIONAL,
            'A flag indicating whether to run the unit test suite.'
        );
        $this->addOption(
            self::OPTIONS_KEY_UNITTESTSCOMMAND,
            'U',
            InputOption::VALUE_OPTIONAL,
            'The command to run the unit tests.'
        );
        $this->addOption(
            self::OPTIONS_KEY_PULL,
            'p',
            InputOption::VALUE_NONE,
            'A flag indicating to pull new images instead of running the linter or unit tests.'
        );
    }
private function configureOptions ( ) { $ this -> addOption ( self :: OPTIONS_KEY_IMAGES , 'i' , InputOption :: VALUE_OPTIONAL , 'The list of docker images to use (comma or space delimited).' ) ; $ this -> addOption ( self :: OPTIONS_KEY_CONFIGFILE , 'c' , InputOption :: VALUE_OPTIONAL , 'The path to the configuration file.' ) ; $ this -> addOption ( self :: OPTIONS_KEY_SYNTAX , 's' , InputOption :: VALUE_OPTIONAL , 'A flag indicating whether to run syntax checks.' ) ; $ this -> addOption ( self :: OPTIONS_KEY_SYNTAXCOMMAND , 'S' , InputOption :: VALUE_OPTIONAL , 'The command to run syntax checks.' ) ; $ this -> addOption ( self :: OPTIONS_KEY_UNITTESTS , 'u' , InputOption :: VALUE_OPTIONAL , 'A flag indicating whether to run the unit test suite.' ) ; $ this -> addOption ( self :: OPTIONS_KEY_UNITTESTSCOMMAND , 'U' , InputOption :: VALUE_OPTIONAL , 'The command to run the unit tests.' ) ; $ this -> addOption ( self :: OPTIONS_KEY_PULL , 'p' , InputOption :: VALUE_NONE , 'A flag indicating to pull new images instead of running the linter or unit tests.' ) ; }
Configures the list of command options.
Configures the list of command options .