Total Complexity | 4 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 1 |
1 | <?php |
||
14 | class PayPalExpressMapper implements MapperInterface |
||
15 | { |
||
16 | /** |
||
17 | * @return string |
||
18 | */ |
||
19 | public function getMethodName() |
||
20 | { |
||
21 | return ComputopConfig::PAYMENT_METHOD_PAY_PAL_EXPRESS; |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * @param \Generated\Shared\Transfer\PaymentTransfer $paymentTransfer |
||
26 | * |
||
27 | * @return \Generated\Shared\Transfer\ComputopPayPalExpressPaymentTransfer |
||
28 | */ |
||
29 | public function getComputopTransfer(PaymentTransfer $paymentTransfer) |
||
30 | { |
||
31 | return $paymentTransfer->getComputopPayPalExpress(); |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * @param \Generated\Shared\Transfer\PaymentTransfer $paymentTransfer |
||
36 | * |
||
37 | * @return \Spryker\Shared\Kernel\Transfer\TransferInterface |
||
38 | */ |
||
39 | public function getComputopResponseTransfer(PaymentTransfer $paymentTransfer) |
||
42 | } |
||
43 | |||
44 | /** |
||
45 | * @param \Generated\Shared\Transfer\PaymentTransfer $paymentTransfer |
||
46 | * |
||
47 | * @return array |
||
48 | */ |
||
49 | public function getPaymentDetailsArray(PaymentTransfer $paymentTransfer) |
||
54 |
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