| Conditions | 1 |
| Paths | 1 |
| Total Lines | 23 |
| Code Lines | 18 |
| 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 | ->end() |
||
| 33 | ; |
||
| 34 | |||
| 35 | return $treeBuilder; |
||
| 36 | } |
||
| 38 |
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