src/Handler/InputHandler.php
public static function handleInput(InputInterface $input)
    {
        $configOption = $input->getOption('configuration');
        $configFile = ConfigLocator::locate($configOption);
        $configuration = ConfigLoader::loadConfig($configFile);

        $phpunit = $configuration->getPHPUnitConfiguration();
        if (null !== $input->getOption('bootstrap')) {
            $phpunit['bootstrap'] = $input->getOption('bootstrap');
        }

        if (isset($phpunit['bootstrap'])) {
            FileLoader::loadFile($phpunit['bootstrap']);
        }

        return $configuration;
    }
public static function handleInput(InputInterface $input)
    {
        $configOption = $input->getOption('configuration');
        $configFile = ConfigLocator::locate($configOption);
        $configuration = ConfigLoader::loadConfig($configFile);

        $phpunit = $configuration->getPHPUnitConfiguration();
        if (null !== $input->getOption('bootstrap')) {
            $phpunit['bootstrap'] = $input->getOption('bootstrap');
        }

        if (isset($phpunit['bootstrap'])) {
            FileLoader::loadFile($phpunit['bootstrap']);
        }

        return $configuration;
    }
public static function handleInput ( InputInterface $ input ) { $ configOption = $ input -> getOption ( 'configuration' ) ; $ configFile = ConfigLocator :: locate ( $ configOption ) ; $ configuration = ConfigLoader :: loadConfig ( $ configFile ) ; $ phpunit = $ configuration -> getPHPUnitConfiguration ( ) ; if ( null !== $ input -> getOption ( 'bootstrap' ) ) { $ phpunit [ 'bootstrap' ] = $ input -> getOption ( 'bootstrap' ) ; } if ( isset ( $ phpunit [ 'bootstrap' ] ) ) { FileLoader :: loadFile ( $ phpunit [ 'bootstrap' ] ) ; } return $ configuration ; }
Handle console input

@param InputInterface $input
@return Configuration
Handle console input