Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
27 | public function sendMessage(string $message) |
||
28 | { |
||
29 | $properties = array('content_type' => 'text/plain', 'delivery_mode' => AMQPMessage::DELIVERY_MODE_PERSISTENT); |
||
30 | |||
31 | $message = str_replace("\n", "<br>", $message); |
||
32 | |||
33 | $Buffer = new AMQPMessage($message, $properties); |
||
34 | |||
35 | $this->getInstance($this->getQueue(), $this->getExchanger())->channel->basic_publish($Buffer, $this->getExchanger()); |
||
36 | |||
37 | $this->closeConnection(); |
||
38 | } |
||
40 |
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