Total Complexity | 4 |
Total Lines | 50 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | class FinishRequest implements CrefoPayApiRequestInterface |
||
15 | { |
||
16 | protected const REQUEST_TYPE = 'finish'; |
||
17 | |||
18 | /** |
||
19 | * @var \SprykerEco\Zed\CrefoPayApi\Business\Builder\Request\CrefoPayApiRequestBuilderInterface |
||
20 | */ |
||
21 | protected $requestBuilder; |
||
22 | |||
23 | /** |
||
24 | * @var \SprykerEco\Zed\CrefoPayApi\CrefoPayApiConfig |
||
25 | */ |
||
26 | protected $config; |
||
27 | |||
28 | /** |
||
29 | * @param \SprykerEco\Zed\CrefoPayApi\Business\Builder\Request\CrefoPayApiRequestBuilderInterface $requestBuilder |
||
30 | * @param \SprykerEco\Zed\CrefoPayApi\CrefoPayApiConfig $config |
||
31 | */ |
||
32 | public function __construct( |
||
33 | CrefoPayApiRequestBuilderInterface $requestBuilder, |
||
34 | CrefoPayApiConfig $config |
||
35 | ) { |
||
36 | $this->requestBuilder = $requestBuilder; |
||
37 | $this->config = $config; |
||
38 | } |
||
39 | |||
40 | /** |
||
41 | * @param \Generated\Shared\Transfer\CrefoPayApiRequestTransfer $requestTransfer |
||
42 | * |
||
43 | * @return array |
||
44 | */ |
||
45 | public function getFormParams(CrefoPayApiRequestTransfer $requestTransfer): array |
||
48 | } |
||
49 | |||
50 | /** |
||
51 | * @return string |
||
52 | */ |
||
53 | public function getUrl(): string |
||
56 | } |
||
57 | |||
58 | /** |
||
59 | * @return string |
||
60 | */ |
||
61 | public function getRequestType(): string |
||
66 |
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