| Conditions | 3 |
| Paths | 3 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | public function handle(AnnouncementMadeEvent $event) |
||
| 20 | { |
||
| 21 | if (isset($event->announcement)) { |
||
| 22 | $audiences = User::find($event->announcement->audience); |
||
| 23 | Notification::send($audiences, new AnnouncementNotification($event->announcement)); |
||
| 24 | if ($event->announcement->slack_notify) { |
||
| 25 | $audiences->first()->setSlackUrl(env('SLACK_WEBHOOK', null))->notify(new SlackAnnouncementNotification($event->announcement)); |
||
| 26 | } |
||
| 30 |
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