| Total Complexity | 5 | 
| Total Lines | 19 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 19 | class AdvancedRegistryCompilerPass implements CompilerPassInterface  | 
            ||
| 20 | { | 
            ||
| 21 | public function process(ContainerBuilder $container)  | 
            ||
| 22 |     { | 
            ||
| 23 | $registry = $container->findDefinition(AdvancedRegistry::class);  | 
            ||
| 24 | $aliasContainer = $container->findDefinition(NavigationAliasContainer::class);  | 
            ||
| 25 |         $services = $container->findTaggedServiceIds('everlution.advanced_navigation'); | 
            ||
| 26 | |||
| 27 |         foreach ($services as $id => $tags) { | 
            ||
| 28 |             $registry->addMethodCall('addContainer', [new Reference($id)]); | 
            ||
| 29 | $this->addAlias($aliasContainer, $id, $tags);  | 
            ||
| 30 | }  | 
            ||
| 31 | }  | 
            ||
| 32 | |||
| 33 | private function addAlias(Definition $container, string $id, array $tags)  | 
            ||
| 38 | }  | 
            ||
| 39 | }  | 
            ||
| 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