Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
52 | 25 | protected function getOptions(): array |
|
53 | { |
||
54 | 25 | $branch = $this->runtime->getEnvOption('branch', 'master'); |
|
55 | 25 | $tag = $this->runtime->getEnvOption('tag', false); |
|
56 | |||
57 | 25 | $options = array_merge( |
|
58 | 25 | ['path' => 'git', 'branch' => $branch, 'tag' => $tag], |
|
59 | 25 | $this->options |
|
60 | ); |
||
61 | |||
62 | 25 | return $options; |
|
63 | } |
||
65 |