| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Code Lines | 17 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 36 | public function configure(ArrayNodeDefinition $builder) |
||
| 37 | { |
||
| 38 | $builder |
||
| 39 | ->addDefaultsIfNotSet() |
||
| 40 | ->children() |
||
| 41 | ->scalarNode('path') |
||
| 42 | ->defaultValue('var/log/behat.log') |
||
| 43 | ->end() |
||
| 44 | ->scalarNode('level') |
||
| 45 | ->beforeNormalization() |
||
| 46 | ->always() |
||
| 47 | ->then(function ($value) { |
||
| 48 | return Logger::toMonologLevel($value); |
||
| 49 | }) |
||
| 50 | ->end() |
||
| 51 | ->defaultValue(Logger::DEBUG) |
||
| 52 | ->end() |
||
| 53 | ->end() |
||
| 54 | ->end(); |
||
| 55 | } |
||
| 56 | // @codeCoverageIgnoreEnd |
||
| 72 |