1 | <?php |
||
2 | declare(strict_types=1); |
||
3 | /** |
||
4 | * Copyright (c) Phauthentic (https://github.com/Phauthentic) |
||
5 | * |
||
6 | * Licensed under The MIT License |
||
7 | * For full copyright and license information, please see the LICENSE.txt |
||
8 | * Redistributions of files must retain the above copyright notice. |
||
9 | * |
||
10 | * @copyright Copyright (c) Phauthentic (https://github.com/Phauthentic) |
||
11 | * @link https://github.com/Phauthentic |
||
12 | * @license https://opensource.org/licenses/mit-license.php MIT License |
||
13 | */ |
||
14 | namespace Phauthentic\Email; |
||
15 | |||
16 | /** |
||
17 | * Email Address Interface |
||
18 | * |
||
19 | * This object describes an email address for a receiver or sender. It should |
||
20 | * make sure only a valid email address is created and used. |
||
21 | */ |
||
22 | interface EmailAddressInterface |
||
23 | { |
||
24 | /** |
||
25 | * Sets the email |
||
26 | * |
||
27 | * @param string $email Email address |
||
28 | * @return \App\Infrastructure\Email\EmailAddressInterface; |
||
0 ignored issues
–
show
|
|||
29 | */ |
||
30 | public function setEmail(string $email): EmailAddressInterface; |
||
31 | |||
32 | /** |
||
33 | * @param string $name Receiver name |
||
34 | * @return \App\Infrastructure\Email\EmailAddressInterface; |
||
35 | */ |
||
36 | public function setName(string $name): EmailAddressInterface; |
||
37 | |||
38 | /** |
||
39 | * Gets the email address |
||
40 | * |
||
41 | * @return string |
||
42 | */ |
||
43 | public function getEmail(): string; |
||
44 | |||
45 | /** |
||
46 | * Gets the name |
||
47 | * |
||
48 | * @return string |
||
49 | */ |
||
50 | public function getName(): string; |
||
51 | |||
52 | /** |
||
53 | * Returns a string representation of this object |
||
54 | * |
||
55 | * @return string |
||
56 | */ |
||
57 | public function __toString(): string; |
||
58 | |||
59 | /** |
||
60 | * Returns the address as array were the key is the email address and the |
||
61 | * value the name |
||
62 | * |
||
63 | * @return array |
||
64 | */ |
||
65 | public function toArray(): array; |
||
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