| Total Complexity | 4 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | final class StubGitWrapper implements GitWrapper |
||
| 12 | { |
||
| 13 | public const GIT_SHA_1 = '683031e66625ba768350e5cb90d01121eae2ba00'; |
||
| 14 | public const GIT_SHA_2 = '0dcb42273e9deffb76997926d6748aa04487a75c'; |
||
| 15 | |||
| 16 | public function __construct( |
||
| 17 | private string $sha, |
||
| 18 | private string $diff, |
||
| 19 | ) { |
||
| 20 | } |
||
| 21 | |||
| 22 | public function getCurrentSha(ProjectRoot $projectRoot): GitCommit |
||
| 25 | } |
||
| 26 | |||
| 27 | public function getGitDiff(ProjectRoot $projectRoot, GitCommit $originalCommit): string |
||
| 30 | } |
||
| 31 | |||
| 32 | public function isClean(ProjectRoot $projectRoot): bool |
||
| 37 |