1 | <?php |
||
2 | |||
3 | declare(strict_types=1); |
||
4 | |||
5 | namespace Everlution\NavigationBundle; |
||
6 | |||
7 | use Everlution\NavigationBundle\DependencyInjection\Compiler\NestedRegistryCompilerPass; |
||
0 ignored issues
–
show
|
|||
8 | use Everlution\NavigationBundle\DependencyInjection\Compiler\RegisterStandaloneItemsCompilerPass; |
||
9 | use Everlution\NavigationBundle\DependencyInjection\Compiler\RegistryCompilerPass; |
||
10 | use Everlution\NavigationBundle\DependencyInjection\Compiler\UrlProviderCompilerPass; |
||
11 | use Everlution\NavigationBundle\DependencyInjection\Compiler\VoterCompilerPass; |
||
12 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
||
13 | use Symfony\Component\HttpKernel\Bundle\Bundle; |
||
14 | |||
15 | /** |
||
16 | * Class EverlutionNavigationBundle. |
||
17 | * |
||
18 | * @author Ivan Barlog <[email protected]> |
||
19 | */ |
||
20 | class EverlutionNavigationBundle extends Bundle |
||
21 | { |
||
22 | public function build(ContainerBuilder $container) |
||
23 | { |
||
24 | $container->addCompilerPass(new RegistryCompilerPass()); |
||
25 | $container->addCompilerPass(new UrlProviderCompilerPass()); |
||
26 | $container->addCompilerPass(new VoterCompilerPass()); |
||
27 | $container->addCompilerPass(new RegisterStandaloneItemsCompilerPass()); |
||
28 | } |
||
29 | } |
||
30 |
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