1 | <?php |
||
2 | |||
3 | namespace Dtc\QueueBundle\DependencyInjection\Compiler; |
||
4 | |||
5 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
||
0 ignored issues
–
show
|
|||
6 | |||
7 | trait WorkerCompilerTrait |
||
8 | { |
||
9 | 4 | protected function getRunManagerType(ContainerBuilder $container) |
|
10 | { |
||
11 | 4 | $managerType = 'dtc_queue.manager.job'; |
|
12 | 4 | if ($container->hasParameter('dtc_queue.manager.run') && |
|
13 | 4 | $container->getParameter('dtc_queue.manager.run')) { |
|
14 | 4 | $managerType = 'dtc_queue.manager.run'; |
|
15 | } |
||
16 | |||
17 | 4 | return $managerType; |
|
18 | } |
||
19 | } |
||
20 |
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