1 | <?php |
||
2 | |||
0 ignored issues
–
show
Coding Style
introduced
by
![]() |
|||
3 | namespace Db3v4l\DependencyInjection; |
||
4 | |||
5 | use Symfony\Component\Config\Definition\Builder\TreeBuilder; |
||
0 ignored issues
–
show
The type
Symfony\Component\Config...ion\Builder\TreeBuilder was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
6 | use Symfony\Component\Config\Definition\ConfigurationInterface; |
||
0 ignored issues
–
show
The type
Symfony\Component\Config...\ConfigurationInterface was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
7 | |||
8 | class Configuration implements ConfigurationInterface |
||
0 ignored issues
–
show
|
|||
9 | { |
||
10 | public function getConfigTreeBuilder() |
||
0 ignored issues
–
show
|
|||
11 | { |
||
12 | $treeBuilder = new TreeBuilder('db3v4l'); |
||
13 | |||
14 | $treeBuilder->getRootNode() |
||
15 | ->children() |
||
16 | ->arrayNode('database_instances') |
||
0 ignored issues
–
show
|
|||
17 | ->useAttributeAsKey('name') |
||
0 ignored issues
–
show
|
|||
18 | ->arrayPrototype() |
||
0 ignored issues
–
show
|
|||
19 | ->children() |
||
0 ignored issues
–
show
|
|||
20 | /// @todo check which ones of these are mandatory; which ones can have requirements added |
||
21 | ->scalarNode('charset')->end() |
||
0 ignored issues
–
show
|
|||
22 | ->scalarNode('driver')->end() |
||
0 ignored issues
–
show
|
|||
23 | ->scalarNode('host')->end() |
||
0 ignored issues
–
show
|
|||
24 | ->scalarNode('password')->end() |
||
0 ignored issues
–
show
|
|||
25 | ->scalarNode('path')->end() |
||
0 ignored issues
–
show
|
|||
26 | ->scalarNode('port')->end() |
||
0 ignored issues
–
show
|
|||
27 | ->scalarNode('servicename')->end() |
||
0 ignored issues
–
show
|
|||
28 | ->scalarNode('user')->end() |
||
0 ignored issues
–
show
|
|||
29 | ->scalarNode('vendor')->end() |
||
0 ignored issues
–
show
|
|||
30 | ->scalarNode('version')->end() |
||
0 ignored issues
–
show
|
|||
31 | ->end() |
||
0 ignored issues
–
show
|
|||
32 | ->end() |
||
0 ignored issues
–
show
|
|||
33 | ->end() |
||
0 ignored issues
–
show
|
|||
34 | ->end() |
||
0 ignored issues
–
show
|
|||
35 | ; |
||
36 | |||
37 | return $treeBuilder; |
||
38 | } |
||
39 | } |
||
40 |