Conditions | 1 |
Paths | 1 |
Total Lines | 27 |
Code Lines | 22 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
13 | public function getConfigTreeBuilder() |
||
14 | { |
||
15 | $treeBuilder = new TreeBuilder(); |
||
16 | $rootNode = $treeBuilder->root('redirection_io'); |
||
17 | |||
18 | $rootNode |
||
19 | ->children() |
||
20 | ->arrayNode('connections') |
||
21 | ->normalizeKeys(false) |
||
22 | ->useAttributeAsKey('name') |
||
23 | ->addDefaultChildrenIfNoneSet('default') |
||
24 | ->prototype('scalar') |
||
25 | ->info('a TCP or unix socket') |
||
26 | ->example('tcp://127.0.0.1:20301 or unix:///var/run/redirectionio_agent.sock') |
||
27 | ->isRequired() |
||
28 | ->cannotBeEmpty() |
||
29 | ->defaultValue('tcp://127.0.0.1:20301') |
||
30 | ->end() |
||
31 | ->end() |
||
32 | ->booleanNode('debug') |
||
33 | ->info('Throw exception if something wrong happens') |
||
34 | ->defaultValue('%kernel.debug%') |
||
35 | ->end() |
||
36 | ->end() |
||
37 | ; |
||
38 | |||
39 | return $treeBuilder; |
||
40 | } |
||
42 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths