Total Complexity | 1 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | class RefundPlugin extends AbstractPlugin implements CommandByOrderInterface |
||
23 | { |
||
24 | /** |
||
25 | * {@inheritDoc} |
||
26 | * - Makes refund request to CrefoPay API. All order items combined in one payment transaction. |
||
27 | * - Updates order items status. |
||
28 | * |
||
29 | * @api |
||
30 | * |
||
31 | * @param array<\Orm\Zed\Sales\Persistence\SpySalesOrderItem> $orderItems |
||
32 | * @param \Orm\Zed\Sales\Persistence\SpySalesOrder $orderEntity |
||
33 | * @param \Spryker\Zed\Oms\Business\Util\ReadOnlyArrayObject $data |
||
34 | * |
||
35 | * @return array |
||
36 | */ |
||
37 | public function run(array $orderItems, SpySalesOrder $orderEntity, ReadOnlyArrayObject $data): array |
||
46 |
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