| Total Complexity | 4 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class IsFinalizingFinishedOmsCondition implements HeidelpayOmsConditionInterface |
||
| 16 | { |
||
| 17 | protected const FINALIZE_PAYMENT_CODE = 'IV.FI'; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var \SprykerEco\Zed\Heidelpay\Persistence\HeidelpayRepositoryInterface |
||
| 21 | */ |
||
| 22 | protected $repository; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param \SprykerEco\Zed\Heidelpay\Persistence\HeidelpayRepositoryInterface $repository |
||
| 26 | */ |
||
| 27 | public function __construct(HeidelpayRepositoryInterface $repository) |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param \Orm\Zed\Sales\Persistence\SpySalesOrderItem $orderItem |
||
| 34 | * |
||
| 35 | * @return bool |
||
| 36 | */ |
||
| 37 | public function check(SpySalesOrderItem $orderItem): bool |
||
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @param \Generated\Shared\Transfer\HeidelpayNotificationTransfer $heidelpayNotificationTransfer |
||
| 54 | * |
||
| 55 | * @return bool |
||
| 56 | */ |
||
| 57 | protected function isNotificationSuccessful(HeidelpayNotificationTransfer $heidelpayNotificationTransfer): bool |
||
| 62 |
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