Conditions | 3 |
Paths | 4 |
Total Lines | 15 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | protected function addPaymentToQuote(QuoteTransfer $quoteTransfer, AbstractTransfer $responseTransfer): QuoteTransfer |
||
24 | { |
||
25 | $paymentTransfer = $quoteTransfer->getPayment(); |
||
26 | if (!$paymentTransfer) { |
||
27 | $paymentTransfer = new PaymentTransfer(); |
||
28 | } |
||
29 | |||
30 | if (!$paymentTransfer->getComputopPayuCeeSingle()) { |
||
31 | $paymentTransfer->setComputopPayuCeeSingle(new ComputopPayuCeeSinglePaymentTransfer()); |
||
32 | } |
||
33 | |||
34 | $paymentTransfer->getComputopPayuCeeSingle()->setPayuCeeSingleInitResponse($responseTransfer); |
||
35 | $quoteTransfer->setPayment($paymentTransfer); |
||
36 | |||
37 | return $quoteTransfer; |
||
38 | } |
||
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