| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Code Lines | 17 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | public function configure(ArrayNodeDefinition $builder) |
||
| 25 | { |
||
| 26 | $builder |
||
| 27 | ->addDefaultsIfNotSet() |
||
| 28 | ->children() |
||
| 29 | ->scalarNode('path') |
||
| 30 | ->defaultValue('var/log/behat.log') |
||
| 31 | ->end() |
||
| 32 | ->scalarNode('level') |
||
| 33 | ->beforeNormalization() |
||
| 34 | ->always() |
||
| 35 | ->then(function ($value) { |
||
| 36 | return Logger::toMonologLevel($value); |
||
| 37 | }) |
||
| 38 | ->end() |
||
| 39 | ->defaultValue(Logger::DEBUG) |
||
| 40 | ->end() |
||
| 41 | ->end() |
||
| 42 | ->end(); |
||
| 43 | } |
||
| 44 | |||
| 95 |