| Conditions | 4 | 
| Paths | 5 | 
| Total Lines | 9 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 7 | 
| CRAP Score | 4 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 1 | 
| 1 | <?php | ||
| 74 | 1 | public function parse(Args $args) | |
| 75 |     { | ||
| 76 | 1 | $options = $this->options; | |
| 77 | |||
| 78 | 1 |         while (null !== $setting = $args->getOptionArgument('c')) { | |
| 79 | 1 |             list($name, $value) = explode('=', $setting, 2) + array('undef', null); | |
| 80 | 1 | $default = $options->get($name); | |
| 81 | 1 | $type = null === $default ? 'string' : gettype($default); | |
| 82 | 1 | settype($value, $type) && $options->definition[$name] = array($value); | |
| 83 | } | ||
| 86 |