Total Complexity | 3 |
Total Lines | 50 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
15 | final class PasswordReset extends Notification |
||
16 | { |
||
17 | /** |
||
18 | * The password reset token. |
||
19 | * |
||
20 | * @var string |
||
21 | */ |
||
22 | public $token; |
||
23 | |||
24 | /** |
||
25 | * Create a notification instance. |
||
26 | * |
||
27 | * @param string $token |
||
28 | * @return void |
||
29 | */ |
||
30 | public function __construct(string $token) |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * Get the notification's delivery channels. |
||
37 | * |
||
38 | * @return array |
||
39 | */ |
||
40 | public function via(): array |
||
41 | { |
||
42 | return ['mail']; |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * Get the mail representation of the notification. |
||
47 | * |
||
48 | * @param User $user |
||
49 | * @return \Illuminate\Notifications\Messages\MailMessage |
||
50 | */ |
||
51 | public function toMail(User $user): MailMessage |
||
65 | } |
||
66 | } |
||
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