| Total Complexity | 5 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Coverage | 63.64% |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | class CompositeModifier extends AbstractModifier |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @var array list of modifiers to run |
||
| 25 | */ |
||
| 26 | public $modifiers = []; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Add modifiers. |
||
| 30 | * @param array $modifiers |
||
| 31 | * @return self for chaining |
||
| 32 | */ |
||
| 33 | public function addModifiers(array $modifiers) |
||
| 34 | { |
||
| 35 | $this->modifiers = array_merge($this->modifiers, $modifiers); |
||
| 36 | |||
| 37 | return $this; |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Removes first tag if it is empty: has no notes and no commits. |
||
| 42 | */ |
||
| 43 | 2 | public function run(History $history) |
|
| 54 | 2 | } |
|
| 55 | 2 | } |
|
| 57 |