Total Complexity | 5 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
23 | class PasswordCredentials implements CredentialsInterface |
||
24 | { |
||
25 | |||
26 | private bool $resolved = false; |
||
27 | private ?string $password; |
||
28 | |||
29 | public function __construct(#[SensitiveParameter] string $password) |
||
30 | { |
||
31 | $this->password = $password; |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * PasswordCredentials password |
||
36 | * |
||
37 | * @return string |
||
38 | */ |
||
39 | public function password(): string |
||
47 | } |
||
48 | |||
49 | /** |
||
50 | * @inheritDoc |
||
51 | */ |
||
52 | public function isResolved(): bool |
||
55 | } |
||
56 | |||
57 | /** |
||
58 | * Marks the credentials badge as resolved. |
||
59 | * |
||
60 | * @return void |
||
61 | */ |
||
62 | public function markResolved(): void |
||
66 | } |
||
67 | } |
||
68 |
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