Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Tests | 13 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
30 | 3 | public function getConfigTreeBuilder() |
|
31 | { |
||
32 | 3 | return (new TreeBuilder()) |
|
33 | 3 | ->root('anime_db_my_anime_list_browser') |
|
34 | 3 | ->children() |
|
35 | 3 | ->scalarNode('host') |
|
36 | 3 | ->defaultValue('http://myanimelist.net') |
|
37 | 3 | ->cannotBeEmpty() |
|
38 | 3 | ->end() |
|
39 | 3 | ->scalarNode('client') |
|
40 | 3 | ->defaultValue('') |
|
41 | 3 | ->end() |
|
42 | 3 | ->end() |
|
43 | 3 | ->end() |
|
44 | ; |
||
47 |