Conditions | 3 |
Paths | 3 |
Total Lines | 13 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
17 | public function handleMessage( |
||
18 | RabbitMqMessageCollectionDataProvider $collectionDataProvider, |
||
19 | AMQPChannel $channel |
||
20 | ): void { |
||
21 | |||
22 | foreach ($collectionDataProvider->getMessages() as $message) { |
||
23 | $event = $message->getMessage(); |
||
24 | |||
25 | if ($event->hasName()) { |
||
26 | $this->getFactory()->getEventFacade()->eventToListener($event); |
||
27 | } |
||
28 | |||
29 | $this->sendAck($channel, $message); |
||
30 | } |
||
49 | } |
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