Total Complexity | 3 |
Total Lines | 45 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
8 | class MagicLink extends Notification |
||
9 | { |
||
10 | /** |
||
11 | * The magic link. |
||
12 | * |
||
13 | * @var string |
||
14 | */ |
||
15 | public $link; |
||
16 | |||
17 | /** |
||
18 | * Create a notification instance. |
||
19 | * |
||
20 | * @param string $link |
||
21 | */ |
||
22 | public function __construct(string $link) |
||
23 | { |
||
24 | $this->link = $link; |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * Get the notification's channels. |
||
29 | * |
||
30 | * @param mixed $notifiable |
||
31 | * |
||
32 | * @return string |
||
33 | */ |
||
34 | public function via($notifiable) |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * Build the mail representation of the notification. |
||
41 | * |
||
42 | * @param mixed $notifiable |
||
43 | * |
||
44 | * @return \Illuminate\Notifications\Messages\MailMessage |
||
45 | */ |
||
46 | public function toMail($notifiable) |
||
53 | } |
||
54 | } |
||
55 |
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