Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
51 | public function toMail(User $user): MailMessage |
||
52 | { |
||
53 | $query = http_build_query([ |
||
54 | 'email' => $user->getEmailForPasswordReset(), |
||
55 | ]); |
||
56 | |||
57 | $url = front_url('password/reset/' . $this->token . '?' . $query); |
||
58 | |||
59 | return (new MailMessage()) |
||
60 | ->subject(Lang::getFromJson('Reset Password Notification')) |
||
61 | ->line(Lang::getFromJson('You are receiving this email because we received a password reset request for your account.')) |
||
62 | ->action(Lang::getFromJson('Reset Password'), $url) |
||
63 | ->line(Lang::getFromJson('This password reset link will expire in :count minutes.', ['count' => config('auth.passwords.user-invitations.expire')])) |
||
64 | ->line(Lang::getFromJson('If you did not request a password reset, no further action is required.')); |
||
65 | } |
||
67 |
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