| Conditions | 2 |
| Paths | 2 |
| Total Lines | 15 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | public function run(array $salesOrderItems, SpySalesOrder $orderEntity, ReadOnlyArrayObject $data) |
||
| 21 | { |
||
| 22 | $amazonpayCallTransfers = $this->groupSalesOrderItemsByAuthId($salesOrderItems); |
||
| 23 | $customerEmail = $orderEntity->getEmail() ?? $orderEntity->getCustomer()->getEmail(); |
||
| 24 | |||
| 25 | foreach ($amazonpayCallTransfers as $amazonpayCallTransfer) { |
||
| 26 | $amazonpayCallTransfer->setShippingAddress($this->buildAddressTransfer($orderEntity->getShippingAddress())) |
||
| 27 | ->setBillingAddress($this->buildAddressTransfer($orderEntity->getBillingAddress())); |
||
| 28 | $amazonpayCallTransfer->setEmail($customerEmail); |
||
| 29 | $amazonpayCallTransfer->setRequestedAmount( |
||
| 30 | $this->getRequestedAmountByOrderAndItems($orderEntity, $amazonpayCallTransfer->getItems()) |
||
| 31 | ); |
||
| 32 | $this->getFacade()->reauthorizeExpiredOrder($amazonpayCallTransfer); |
||
| 33 | } |
||
| 34 | return []; |
||
| 35 | } |
||
| 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