Inheritance: implements GrumPHP\IO\IOInterface
示例#1
0
 /**
  * @return FilesCollection
  */
 protected function getCommittedFiles(ConsoleIO $io)
 {
     if ($stdin = $io->readCommandInput()) {
         return $this->changedFilesLocator->locateFromRawDiffInput($stdin);
     }
     return $this->changedFilesLocator->locateFromGitRepository();
 }
 function let(ConsoleIO $consoleIO)
 {
     $consoleIO->isDecorated()->willReturn(true);
     $this->beConstructedWith($consoleIO);
 }