/** * @param CommandInterface|PhpCsToolCommand $command */ public function handle(CommandInterface $command) { $this->phpCsTool->execute($command->getFiles(), $command->getStandard(), $command->getErrorMessage()); }
/** * @param CommandInterface|GitIgnoreWriterCommand $command */ public function handle(CommandInterface $command) { $this->gitIgnoreWriter->write($command->getContent()); }
/** * @param CommandInterface|ComposerToolCommand $command */ public function handle(CommandInterface $command) { $this->composerTool->execute($command->getFiles(), $command->getErrorMessage()); }
/** * @param CommandInterface|PhpCsFixerToolCommand $command */ public function handle(CommandInterface $command) { $this->phpCsFixerTool->execute($command->getFiles(), $command->isPsr0(), $command->isPsr1(), $command->isPsr2(), $command->isSymfony(), $command->getOptions(), $command->getErrorMessage()); }
/** * @param CommandInterface|StrictCoverageCommand $command */ public function handle(CommandInterface $command) { $this->strictCoverageToolExecutor->execute(new MinimumStrictCoverage($command->getMinimumCoverage()), $command->getErrorMessage()); }
/** * @param CommandInterface|PrePushToolCommand $command */ public function handle(CommandInterface $command) { $this->prePushTool->execute($command->getRemote(), $command->getUrl()); }
/** * @param CommandInterface|CommitMsgCommand $command */ public function handle(CommandInterface $command) { $this->commitMsgTool->run($command->getInput()); }
/** * @param CommandInterface|ConfigurationProcessorCommand $command */ public function handle(CommandInterface $command) { $this->configurationProcessor->process($command->getInput()); }
/** * @param CommandInterface|PhpUnitToolCommand $command */ public function handle(CommandInterface $command) { $this->phpUnitToolExecutor->execute($command->isRandomMode(), $command->getOptions(), $command->getErrorMessage()); }
/** * @param CommandInterface|GuardCoverageCommand $command */ public function handle(CommandInterface $command) { $this->guardCoverageTool->run($command->getWarningMessage()); }