Conditions | 3 |
Paths | 4 |
Total Lines | 16 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 4 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
21 | public function getData(AbstractTransfer $quoteTransfer) |
||
22 | { |
||
23 | if ($quoteTransfer->getPayment() === null) { |
||
24 | $paymentTransfer = new PaymentTransfer(); |
||
25 | $quoteTransfer->setPayment($paymentTransfer); |
||
26 | } |
||
27 | |||
28 | if (!$this->isValidPayment($quoteTransfer)) { |
||
29 | $paymentTransfer = $quoteTransfer->getPayment(); |
||
30 | $computopTransfer = $this->mapper->createComputopPaymentTransfer($quoteTransfer); |
||
31 | $paymentTransfer->setComputopSofort($computopTransfer); |
||
32 | $quoteTransfer->setPayment($paymentTransfer); |
||
33 | $this->quoteClient->setQuote($quoteTransfer); |
||
34 | } |
||
35 | |||
36 | return $quoteTransfer; |
||
37 | } |
||
49 |
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