| Total Complexity | 2 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | abstract class IpnAbstractPaymentCaptureHandler extends IpnAbstractTransferRequestHandler |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @param \Generated\Shared\Transfer\AmazonpayIpnPaymentRequestTransfer $paymentRequestTransfer |
||
| 18 | * |
||
| 19 | * @return \Orm\Zed\AmazonPay\Persistence\SpyPaymentAmazonpay |
||
|
1 ignored issue
–
show
|
|||
| 20 | */ |
||
| 21 | protected function retrievePaymentEntity(AmazonpayIpnPaymentRequestTransfer $paymentRequestTransfer) |
||
| 22 | { |
||
| 23 | return $this->queryContainer |
||
| 24 | ->queryPaymentByCaptureReferenceId( |
||
| 25 | $paymentRequestTransfer->getCaptureDetails()->getCaptureReferenceId() |
||
| 26 | ) |
||
| 27 | ->findOne(); |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return string |
||
| 32 | */ |
||
| 33 | protected function getOmsEventId() |
||
| 36 | } |
||
| 37 | } |
||
| 38 |
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