| Total Complexity | 4 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | final class StubHistoryFactory implements HistoryFactory |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * StubHistoryFactory constructor. |
||
| 21 | */ |
||
| 22 | public function __construct( |
||
| 25 | } |
||
| 26 | |||
| 27 | public function newHistoryAnalyser(HistoryMarker $baseLineHistoryMarker, ProjectRoot $projectRoot): HistoryAnalyser |
||
| 28 | { |
||
| 29 | return new DiffHistoryAnalyser($this->fileMutations); |
||
| 30 | } |
||
| 31 | |||
| 32 | public function newHistoryMarkerFactory(): HistoryMarkerFactory |
||
| 33 | { |
||
| 34 | return new GitHistoryMarkerFactory(new StubGitWrapper(StubGitWrapper::GIT_SHA_1, '')); |
||
| 35 | } |
||
| 36 | |||
| 37 | public function getIdentifier(): string |
||
| 40 | } |
||
| 41 | } |
||
| 42 |