Inheritance: implements GrumPHP\IO\IOInterface
 /**
  * @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);
 }