| Total Complexity | 1 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | class CrefoPayPaymentMethodFilterPlugin extends AbstractPlugin implements PaymentMethodFilterPluginInterface |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * {@inheritDoc} |
||
| 26 | * - Takes allowed payment methods from the QuoteTransfer received in CreateTransaction API call. |
||
| 27 | * - Filters payment methods based on allowed payment methods. |
||
| 28 | * |
||
| 29 | * @api |
||
| 30 | * |
||
| 31 | * @param \Generated\Shared\Transfer\PaymentMethodsTransfer $paymentMethodsTransfer |
||
| 32 | * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer |
||
| 33 | * |
||
| 34 | * @return \Generated\Shared\Transfer\PaymentMethodsTransfer |
||
| 35 | */ |
||
| 36 | public function filterPaymentMethods( |
||
| 43 |
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