/** * @return FilesCollection */ protected function getCommittedFiles(ConsoleIO $io) { if ($stdin = $io->readCommandInput()) { return $this->changedFilesLocator->locateFromRawDiffInput($stdin); } return $this->changedFilesLocator->locateFromGitRepository(); }
/** * @return FilesCollection */ protected function getCommittedFiles() { return $this->changedFilesLocator->locate(); }