Total Complexity | 2 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
15 | class CrefoPayApiService extends AbstractService implements CrefoPayApiServiceInterface |
||
16 | { |
||
17 | /** |
||
18 | * {@inheritdoc} |
||
19 | * |
||
20 | * @api |
||
21 | * |
||
22 | * @param array $data |
||
23 | * |
||
24 | * @return string |
||
25 | */ |
||
26 | public function calculateMac(array $data): string |
||
27 | { |
||
28 | return $this->getFactory() |
||
29 | ->createMacHashCalculator() |
||
30 | ->calculateMac($data); |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * {@inheritdoc} |
||
35 | * |
||
36 | * @api |
||
37 | * |
||
38 | * @param array $data |
||
39 | * @param string $mac |
||
40 | * |
||
41 | * @return bool |
||
42 | */ |
||
43 | public function validateMac(array $data, string $mac): bool |
||
48 | } |
||
49 | } |
||
50 |
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