/** * @param OutputHandler $outputHandler * @param MergeValidatorInterface $mergeValidator * @param FileExtractInterface $extractCommitMessage * @param ConfigFile $configFile */ public function __construct(OutputHandler $outputHandler, MergeValidatorInterface $mergeValidator, FileExtractInterface $extractCommitMessage, ConfigFile $configFile) { $this->mergeValidator = $mergeValidator; $this->extractCommitMessage = $extractCommitMessage; $this->configFile = $configFile; parent::__construct($outputHandler); }
/** * @param OutputHandlerInterface $outputHandler * @param ProcessBuilderInterface $processBuilderInterface */ public function __construct(OutputHandlerInterface $outputHandler, ProcessBuilderInterface $processBuilderInterface) { parent::__construct($outputHandler); $this->phpUnitProcessBuilder = $processBuilderInterface; }