Total Complexity | 3 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
31 | class Shell extends Template\Local |
||
32 | { |
||
33 | /** |
||
34 | * Return the path to the target path from the git repository root f.e. vendor/bin/captainhook |
||
35 | * |
||
36 | * @param \SebastianFeldmann\Camino\Path\Directory $repo |
||
37 | * @param \SebastianFeldmann\Camino\Path $target |
||
38 | * @return string |
||
39 | */ |
||
40 | protected function getPathForHookTo(Directory $repo, Path $target): string |
||
46 | } |
||
47 | |||
48 | /** |
||
49 | * Returns lines of code for the local src installation |
||
50 | * |
||
51 | * @param string $hook |
||
52 | * @return array<string> |
||
53 | */ |
||
54 | protected function getHookLines(string $hook): array |
||
68 |