Conditions | 4 |
Paths | 4 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | public function shutdown() |
||
24 | { |
||
25 | parent::shutdown(); |
||
26 | if (!$this->container->hasParameter('old_sound_rabbit_mq.base_amqp')) { |
||
27 | return; |
||
28 | } |
||
29 | $connections = $this->container->getParameter('old_sound_rabbit_mq.base_amqp'); |
||
30 | foreach ($connections as $connection) { |
||
31 | if ($this->container->initialized($connection)) { |
||
32 | $this->container->get($connection)->close(); |
||
33 | } |
||
37 |
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