| Total Complexity | 4 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | class Elv extends AbstractMethod |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @return string |
||
| 22 | */ |
||
| 23 | public function getMethodName() |
||
| 24 | { |
||
| 25 | return RatepayConfig::ELV; |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer |
||
| 30 | * |
||
| 31 | * @return \Generated\Shared\Transfer\RatepayPaymentElvTransfer |
||
| 32 | */ |
||
| 33 | public function getPaymentData(QuoteTransfer $quoteTransfer) |
||
| 34 | { |
||
| 35 | return $quoteTransfer |
||
| 36 | ->requirePayment() |
||
| 37 | ->getPayment() |
||
| 38 | ->requireRatepayElv() |
||
| 39 | ->getRatepayElv(); |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @param \Generated\Shared\Transfer\RatepayPaymentRequestTransfer $ratepayPaymentRequestTransfer |
||
| 44 | * |
||
| 45 | * @return void |
||
| 46 | */ |
||
| 47 | protected function mapPaymentData(RatepayPaymentRequestTransfer $ratepayPaymentRequestTransfer) |
||
| 51 | } |
||
| 52 | |||
| 53 | /** |
||
| 54 | * @param \Orm\Zed\Ratepay\Persistence\SpyPaymentRatepay $payment |
||
| 55 | * |
||
| 56 | * @return \Generated\Shared\Transfer\RatepayPaymentElvTransfer |
||
| 57 | */ |
||
| 58 | protected function getPaymentTransferObject($payment) |
||
| 61 | } |
||
| 62 | } |
||
| 63 |
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