| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Code Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 14 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 15 | 12 | public function getConfigTreeBuilder() |
|
| 16 | { |
||
| 17 | 12 | $treeBuilder = new TreeBuilder(); |
|
| 18 | 12 | $rootNode = $treeBuilder->root('exec_wrapper'); |
|
| 19 | $rootNode |
||
| 20 | 12 | ->children() |
|
| 21 | 12 | ->booleanNode('escape_shell_args') |
|
| 22 | 12 | ->info('Escape shell args passed to exec') |
|
| 23 | 12 | ->defaultTrue() |
|
| 24 | 12 | ->end() |
|
| 25 | 12 | ->booleanNode('escape_shell_cmd') |
|
| 26 | 12 | ->info('Escape shell command passed to exec') |
|
| 27 | 12 | ->defaultTrue() |
|
| 28 | 12 | ->end() |
|
| 29 | 12 | ->end(); |
|
| 30 | 12 | return $treeBuilder; |
|
| 31 | } |
||
| 32 | } |