Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
38 | public function sendMessage(string $message): void |
||
39 | { |
||
40 | $message = str_replace("\n", '<br>', $message); |
||
41 | |||
42 | $Buffer = new AMQPMessage($message, [ |
||
43 | 'content_type' => 'text/plain', |
||
44 | 'delivery_mode' => AMQPMessage::DELIVERY_MODE_PERSISTENT |
||
45 | ]); |
||
46 | |||
47 | $this->getInstance( |
||
48 | $this->getQueue(), |
||
49 | $this->getExchanger() |
||
50 | )->channel->basic_publish($Buffer, $this->getExchanger()); |
||
51 | $this->closeConnection(); |
||
52 | } |
||
54 |
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