| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | public function convert(QuoteTransfer $quoteTransfer): AfterpayCallTransfer |
||
| 21 | { |
||
| 22 | $afterpayCallTransfer = new AfterpayCallTransfer(); |
||
| 23 | $afterpayCallTransfer->setOrderReference($quoteTransfer->getOrderReference()); |
||
| 24 | $afterpayCallTransfer->setEmail($quoteTransfer->getCustomer()->getEmail()); |
||
| 25 | $afterpayCallTransfer->setItems($quoteTransfer->getItems()); |
||
| 26 | $afterpayCallTransfer->setBillingAddress($quoteTransfer->getBillingAddress()); |
||
| 27 | $afterpayCallTransfer->setShippingAddress($quoteTransfer->getShippingAddress()); |
||
| 28 | $afterpayCallTransfer->setTotals($quoteTransfer->getTotals()); |
||
| 29 | $afterpayCallTransfer->setPaymentMethod($quoteTransfer->getPayment()->getPaymentSelection()); |
||
| 30 | |||
| 31 | return $afterpayCallTransfer; |
||
| 32 | } |
||
| 34 |
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