Total Complexity | 7 |
Total Lines | 50 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
20 | class TrillianPersonality implements BackendProvider |
||
21 | { |
||
22 | /** |
||
23 | * |
||
24 | * {@inheritdoc} |
||
25 | */ |
||
26 | public function name() : string |
||
27 | { |
||
28 | return 'trillian'; |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * |
||
33 | * {@inheritdoc} |
||
34 | */ |
||
35 | public function connect() : bool |
||
36 | { |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * |
||
41 | * {@inheritdoc} |
||
42 | */ |
||
43 | public function read(string $hash) : array |
||
44 | { |
||
45 | } |
||
46 | |||
47 | /** |
||
48 | * |
||
49 | * {@inheritdoc} |
||
50 | */ |
||
51 | public function write(string $hash) : string |
||
53 | } |
||
54 | |||
55 | /** |
||
56 | * @param string $data The data to be verified |
||
57 | * @throws VerifiableValidationException In the event invalid data is detected |
||
58 | * Sure-fire way to prevent a malformed |
||
59 | * write to the backend. |
||
60 | * @return void |
||
61 | * @todo Implement a dedicated hash-specific handler |
||
62 | */ |
||
63 | public function validate(string $data) |
||
70 | } |
||
71 | } |
||
72 | } |
||
75 |
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