| Conditions | 4 |
| Paths | 4 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 4 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 36 | 4 | protected function validateConfig() |
|
| 37 | { |
||
| 38 | 4 | if (! isset($this->options['account-name'])) { |
|
| 39 | 1 | throw new UnexpectedValueException("Missing 'account-name' as option"); |
|
| 40 | } |
||
| 41 | |||
| 42 | 3 | if (! isset($this->options['account-key'])) { |
|
| 43 | 1 | throw new UnexpectedValueException("Missing 'account-key' as option"); |
|
| 44 | } |
||
| 45 | |||
| 46 | 2 | if (! isset($this->options['container'])) { |
|
| 47 | 1 | throw new UnexpectedValueException("Missing 'container' as option"); |
|
| 48 | } |
||
| 49 | 1 | } |
|
| 50 | } |
||
| 51 |