| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | public function create($name): Consumer |
||
| 22 | { |
||
| 23 | $consumerDef = $this->consumerDefs[$name]; |
||
| 24 | /** @var AbstractConnection $connection */ |
||
| 25 | $connection = $this->container->get(sprintf('old_sound_rabbit_mq.connection.%s', $consumerDef->name)); |
||
| 26 | $consumer = new Consumer($consumerDef->name); |
||
| 27 | $consumer->setChannel($connection->channel()); |
||
| 28 | |||
| 29 | foreach([] as $d) { |
||
| 30 | $consumer->consumeQueue(); |
||
| 31 | } |
||
| 32 | |||
| 33 | return $consumer; |
||
| 34 | } |
||
| 35 | } |
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