Total Complexity | 2 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class ContactMailable extends Mailable |
||
11 | { |
||
12 | use Queueable, SerializesModels; |
||
13 | |||
14 | public string $message; |
||
15 | public string $email; |
||
16 | public string $name; |
||
17 | |||
18 | /** |
||
19 | * Create a new message instance. |
||
20 | * |
||
21 | * @return void |
||
22 | */ |
||
23 | public function __construct(string $message, string $name, string $email) |
||
24 | { |
||
25 | $this->message = $message; |
||
26 | $this->email = $email; |
||
27 | $this->name = $name; |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * Build the message. |
||
32 | * |
||
33 | * @return $this |
||
34 | */ |
||
35 | public function build() |
||
41 | ]); |
||
42 | } |
||
44 |
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