Total Complexity | 4 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 5 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
22 | final class Updater |
||
23 | { |
||
24 | /** |
||
25 | * The base updater. |
||
26 | * |
||
27 | * @var \Humbug\SelfUpdate\Updater |
||
28 | */ |
||
29 | private $updater; |
||
30 | |||
31 | /** |
||
32 | * Updater constructor. |
||
33 | * |
||
34 | * @param \Humbug\SelfUpdate\Updater $updater |
||
35 | */ |
||
36 | public function __construct(PharUpdater $updater) |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * @param \Illuminate\Console\OutputStyle |
||
43 | * |
||
44 | * @return void |
||
45 | */ |
||
46 | public function update(OutputStyle $output): void |
||
61 |
In general, usage of exit should be done with care and only when running in a scripting context like a CLI script.