1 | <?php |
||
2 | /** |
||
3 | * This file is part of the O2System PHP Framework package. |
||
4 | * |
||
5 | * For the full copyright and license information, please view the LICENSE |
||
6 | * file that was distributed with this source code. |
||
7 | * |
||
8 | * @author Steeve Andrian Salim |
||
9 | * @copyright Copyright (c) Steeve Andrian Salim |
||
10 | */ |
||
11 | // ------------------------------------------------------------------------ |
||
12 | |||
13 | /** |
||
14 | * Email Configuration |
||
15 | * |
||
16 | * @var \O2System\Email\DataStructures\Config |
||
17 | */ |
||
18 | $email = new \O2System\Email\DataStructures\Config([ |
||
0 ignored issues
–
show
|
|||
19 | /** |
||
20 | * Sender Protocol |
||
21 | * Supported sender protocol mail, smtp or sendmail. |
||
22 | * |
||
23 | * @var string |
||
24 | */ |
||
25 | 'protocol' => 'mail', |
||
26 | |||
27 | /** |
||
28 | * Sender User Agent |
||
29 | * |
||
30 | * @var string |
||
31 | */ |
||
32 | 'userAgent' => 'O2System\Email', |
||
33 | |||
34 | /** |
||
35 | * Wordwrap email body. |
||
36 | * |
||
37 | * @var bool |
||
38 | */ |
||
39 | 'wordwrap' => false, |
||
40 | |||
41 | // ------------------------------------------------------------------------ |
||
42 | |||
43 | /** |
||
44 | * SendMail Protocol Configuration |
||
45 | * Set sendmail binary path. |
||
46 | * |
||
47 | * @var string |
||
48 | */ |
||
49 | 'mailPath' => '/usr/sbin/sendmail', |
||
50 | |||
51 | /** |
||
52 | * SMTP Protocol Configuration |
||
53 | * Fill all configuration below if you set protocol to smtp. |
||
54 | */ |
||
55 | |||
56 | // ------------------------------------------------------------------------ |
||
57 | |||
58 | /** |
||
59 | * SMTP Host |
||
60 | * Can be an IP Address or domain name. |
||
61 | * |
||
62 | * @var string |
||
63 | */ |
||
64 | 'host' => '', |
||
65 | |||
66 | /** |
||
67 | * SMTP Port |
||
68 | * By default it's set to 25. |
||
69 | * |
||
70 | * @var numeric |
||
71 | */ |
||
72 | 'port' => 25, |
||
73 | |||
74 | /** |
||
75 | * SMTP Username |
||
76 | * |
||
77 | * @var string |
||
78 | */ |
||
79 | 'user' => '', |
||
80 | |||
81 | /** |
||
82 | * SMTP Password |
||
83 | * |
||
84 | * @var string |
||
85 | */ |
||
86 | 'pass' => '', |
||
87 | |||
88 | /** |
||
89 | * SMTP Encryption Type |
||
90 | * Supported encryption type tls or ssl. |
||
91 | * |
||
92 | * @var string |
||
93 | */ |
||
94 | 'encryption' => '' |
||
95 | ]); |
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