コード例 #1
0
 /**
  * @param CommandInterface|PhpCsToolCommand $command
  */
 public function handle(CommandInterface $command)
 {
     $this->phpCsTool->execute($command->getFiles(), $command->getStandard(), $command->getErrorMessage());
 }
コード例 #2
0
 /**
  * @param CommandInterface|GitIgnoreWriterCommand $command
  */
 public function handle(CommandInterface $command)
 {
     $this->gitIgnoreWriter->write($command->getContent());
 }
コード例 #3
0
 /**
  * @param CommandInterface|ComposerToolCommand $command
  */
 public function handle(CommandInterface $command)
 {
     $this->composerTool->execute($command->getFiles(), $command->getErrorMessage());
 }
コード例 #4
0
 /**
  * @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());
 }
コード例 #5
0
 /**
  * @param CommandInterface|StrictCoverageCommand $command
  */
 public function handle(CommandInterface $command)
 {
     $this->strictCoverageToolExecutor->execute(new MinimumStrictCoverage($command->getMinimumCoverage()), $command->getErrorMessage());
 }
コード例 #6
0
 /**
  * @param CommandInterface|PrePushToolCommand $command
  */
 public function handle(CommandInterface $command)
 {
     $this->prePushTool->execute($command->getRemote(), $command->getUrl());
 }
コード例 #7
0
 /**
  * @param CommandInterface|CommitMsgCommand $command
  */
 public function handle(CommandInterface $command)
 {
     $this->commitMsgTool->run($command->getInput());
 }
コード例 #8
0
 /**
  * @param CommandInterface|ConfigurationProcessorCommand $command
  */
 public function handle(CommandInterface $command)
 {
     $this->configurationProcessor->process($command->getInput());
 }
コード例 #9
0
 /**
  * @param CommandInterface|PhpUnitToolCommand $command
  */
 public function handle(CommandInterface $command)
 {
     $this->phpUnitToolExecutor->execute($command->isRandomMode(), $command->getOptions(), $command->getErrorMessage());
 }
コード例 #10
0
 /**
  * @param CommandInterface|GuardCoverageCommand $command
  */
 public function handle(CommandInterface $command)
 {
     $this->guardCoverageTool->run($command->getWarningMessage());
 }