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