Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
25 | public function handle(NotifyException $event) |
||
26 | { |
||
27 | $exception = $event->exception_data; |
||
28 | Mail::send( |
||
29 | 'package_redirect::exception_notification_view', |
||
30 | ['exception' => $exception], |
||
31 | function ($message) { |
||
32 | $from = config('firewall.notify_exceptions.mail_from'); |
||
33 | $to = config('firewall.notify_exceptions.mail_to'); |
||
34 | $subject = config('firewall.notify_exceptions.subject'); |
||
35 | $message->from($from, $subject); |
||
36 | $message->to($to); |
||
37 | } |
||
41 |
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