| Total Complexity | 4 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 13 | class RefundChecker implements RefundCheckerInterface |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var \SprykerEco\Zed\Payone\Persistence\PayoneRepositoryInterface |
||
| 17 | */ |
||
| 18 | protected $payoneRepository; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var \SprykerEco\Zed\Payone\Business\ConditionChecker\PaymentDataCheckerInterface |
||
| 22 | */ |
||
| 23 | protected $paymentDataChecker; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param \SprykerEco\Zed\Payone\Persistence\PayoneRepositoryInterface $payoneRepository |
||
| 27 | * @param \SprykerEco\Zed\Payone\Business\ConditionChecker\PaymentDataCheckerInterface $paymentDataChecker |
||
| 28 | */ |
||
| 29 | public function __construct( |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @param \Generated\Shared\Transfer\OrderTransfer $orderTransfer |
||
| 39 | * |
||
| 40 | * @return bool |
||
| 41 | */ |
||
| 42 | public function isRefundPossible(OrderTransfer $orderTransfer): bool |
||
| 55 |
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