| Total Complexity | 4 |
| Total Lines | 50 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | trait InteractsWithGit |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Clone repo. |
||
| 12 | * |
||
| 13 | * @param $url |
||
| 14 | * @param $dest |
||
| 15 | * @param $branch |
||
| 16 | * |
||
| 17 | * @throws RuntimeException |
||
| 18 | */ |
||
| 19 | protected function cloneRepo($url, $dest, $branch) |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Init git repo. |
||
| 40 | * |
||
| 41 | * @param string $repoPath |
||
| 42 | */ |
||
| 43 | protected function initRepo($repoPath) |
||
| 60 |