Total Complexity | 6 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Changes | 4 | ||
Bugs | 2 | Features | 0 |
1 | <?php |
||
14 | abstract class AbstractMapper |
||
15 | { |
||
16 | /** |
||
17 | * @var \SprykerEco\Zed\AdyenApi\AdyenApiConfig |
||
18 | */ |
||
19 | protected $config; |
||
20 | |||
21 | /** |
||
22 | * @param \Generated\Shared\Transfer\AdyenApiRequestTransfer $adyenApiRequestTransfer |
||
23 | * |
||
24 | * @return void |
||
25 | */ |
||
26 | abstract protected function validateRequestTransfer(AdyenApiRequestTransfer $adyenApiRequestTransfer): void; |
||
27 | |||
28 | /** |
||
29 | * @param \SprykerEco\Zed\AdyenApi\AdyenApiConfig $config |
||
30 | */ |
||
31 | public function __construct(AdyenApiConfig $config) |
||
32 | { |
||
33 | $this->config = $config; |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * @param array $data |
||
38 | * |
||
39 | * @return array |
||
40 | */ |
||
41 | protected function removeRedundantParams(array $data): array |
||
57 | } |
||
58 | } |
||
59 |
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