1 | <?php |
||
2 | |||
3 | declare(strict_types=1); |
||
4 | |||
5 | namespace Itmedia\ZippyBusBundle\DependencyInjection; |
||
6 | |||
7 | use Symfony\Component\Config\Definition\Builder\TreeBuilder; |
||
0 ignored issues
–
show
|
|||
8 | 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 ![]() |
|||
9 | |||
10 | class Configuration implements ConfigurationInterface |
||
11 | { |
||
12 | public function getConfigTreeBuilder() |
||
13 | { |
||
14 | $treeBuilder = new TreeBuilder(); |
||
15 | $rootNode = $treeBuilder->root('itmedia_zippy_bus') |
||
0 ignored issues
–
show
|
|||
16 | ->addDefaultsIfNotSet() |
||
17 | ->children() |
||
18 | ->integerNode('cache_ttl')->defaultValue(3600)->end() |
||
19 | ->scalarNode('token')->end() |
||
20 | ->end(); |
||
21 | |||
22 | return $treeBuilder; |
||
23 | } |
||
24 | } |
||
25 |
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