| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 54 | protected function getHookLines(string $hook): array |
||
| 55 | { |
||
| 56 | return [ |
||
| 57 | '#!/usr/bin/sh', |
||
| 58 | '', |
||
| 59 | '# installed by CaptainHook ' . CH::VERSION, |
||
| 60 | '', |
||
| 61 | $this->executablePath |
||
| 62 | . ' --configuration=' . $this->configPath |
||
| 63 | . ' --bootstrap=' . $this->bootstrap |
||
| 64 | . ' ' . $hook . ' "$@"', |
||
| 65 | ]; |
||
| 68 |