| Conditions | 1 |
| Paths | 1 |
| Total Lines | 22 |
| Code Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | public function call(AmazonpayCallTransfer $amazonpayCallTransfer) |
||
| 23 | { |
||
| 24 | $refundAmount = $this->moneyFacade->convertIntegerToDecimal( |
||
| 25 | $amazonpayCallTransfer->getRequestedAmount() |
||
| 26 | ); |
||
| 27 | |||
| 28 | $result = $this->client->refund([ |
||
| 29 | static::AMAZON_ORDER_REFERENCE_ID => $amazonpayCallTransfer->getAmazonpayPayment()->getOrderReferenceId(), |
||
| 30 | static::AMAZON_CAPTURE_ID => |
||
| 31 | $amazonpayCallTransfer |
||
| 32 | ->getAmazonpayPayment() |
||
| 33 | ->getCaptureDetails() |
||
| 34 | ->getAmazonCaptureId(), |
||
| 35 | static::REFUND_REFERENCE_ID => |
||
| 36 | $amazonpayCallTransfer |
||
| 37 | ->getAmazonpayPayment() |
||
| 38 | ->getRefundDetails() |
||
| 39 | ->getRefundReferenceId(), |
||
| 40 | static::REFUND_AMOUNT => $refundAmount, |
||
| 41 | ]); |
||
| 42 | |||
| 43 | return $this->converter->convert($result); |
||
| 44 | } |
||
| 46 |
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