Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
22 | public function addPaymentToQuote(Request $request, QuoteTransfer $quoteTransfer): QuoteTransfer |
||
23 | { |
||
24 | $paymentSelection = $quoteTransfer->getPayment()->getPaymentSelection(); |
||
25 | $quoteTransfer |
||
26 | ->getPayment() |
||
27 | ->setPaymentProvider(AfterPayConfig::PROVIDER_NAME) |
||
28 | ->setPaymentMethod($paymentSelection); |
||
29 | |||
30 | return $quoteTransfer; |
||
31 | } |
||
33 |
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