| Conditions | 1 |
| Paths | 1 |
| Total Lines | 23 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | public function writerConfirmedAmazonPayPayment(AmazonpayPaymentTransfer $amazonpayPaymentTransfer): bool |
||
| 18 | { |
||
| 19 | $paymentEntity = new SpyPaymentAmazonpay(); |
||
| 20 | $paymentEntity->setOrderReferenceId($amazonpayPaymentTransfer->getOrderReferenceId()); |
||
| 21 | $status = $this->getConfirmedOrderStatus($amazonpayPaymentTransfer); |
||
| 22 | $paymentEntity->setStatus($status); |
||
| 23 | $paymentEntity->setSellerOrderId($amazonpayPaymentTransfer->getSellerOrderId()); |
||
| 24 | |||
| 25 | $paymentEntity->setAuthorizationReferenceId( |
||
| 26 | $amazonpayPaymentTransfer->getAuthorizationDetails()->getAuthorizationReferenceId() |
||
| 27 | ); |
||
| 28 | |||
| 29 | $paymentEntity->setAmazonAuthorizationId( |
||
| 30 | $amazonpayPaymentTransfer->getAuthorizationDetails()->getAmazonAuthorizationId() |
||
| 31 | ); |
||
| 32 | |||
| 33 | $paymentEntity->setRequestId( |
||
| 34 | $amazonpayPaymentTransfer->getResponseHeader()->getRequestId() |
||
| 35 | ); |
||
| 36 | |||
| 37 | $paymentEntity->setIsSandbox($amazonpayPaymentTransfer->getIsSandbox()); |
||
| 38 | |||
| 39 | return $paymentEntity->save(); |
||
| 40 | } |
||
| 52 |
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