Total Complexity | 7 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | class Util |
||
26 | { |
||
27 | /** |
||
28 | * Return the bootstrap file to load (can be empty) |
||
29 | * |
||
30 | * @param bool $isPhar |
||
31 | * @param \CaptainHook\App\Config $config |
||
32 | * @return string |
||
33 | */ |
||
34 | 23 | public static function validateBootstrapPath(bool $isPhar, Config $config): string |
|
46 | } |
||
47 | |||
48 | /** |
||
49 | * Returns the bootstrap command option (can be empty) |
||
50 | * |
||
51 | * @param bool $isPhar |
||
52 | * @param \CaptainHook\App\Config $config |
||
53 | * @return string |
||
54 | */ |
||
55 | 51 | public static function bootstrapCmdOption(bool $isPhar, Config $config): string |
|
64 |