| Conditions | 3 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 12 |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | public function send($notifiable, Notification $notification) |
||
| 27 | { |
||
| 28 | $message = $this->getData($notifiable, $notification); |
||
| 29 | |||
| 30 | $event = new WebNotificationCreatedEvent( |
||
| 31 | $notifiable, $notification, is_array($message) ? $message : $message->data |
||
| 32 | ); |
||
| 33 | |||
| 34 | if ($message instanceof BroadcastMessage) { |
||
| 35 | $event->onConnection($message->connection) |
||
| 36 | ->onQueue($message->queue); |
||
| 37 | } |
||
| 38 | |||
| 39 | return $this->events->dispatch($event); |
||
| 40 | } |
||
| 42 |
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