Conditions | 2 |
Paths | 2 |
Total Lines | 19 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
27 | protected function getOrderTransfer(SpySalesOrder $orderEntity, array $salesOrderItems = []) |
||
28 | { |
||
29 | $orderTransfer = $this |
||
30 | ->getFactory() |
||
31 | ->getSalesFacade() |
||
32 | ->getOrderByIdSalesOrder( |
||
33 | $orderEntity->getIdSalesOrder() |
||
34 | ); |
||
35 | |||
36 | $orderTransfer = $this |
||
37 | ->getFactory() |
||
38 | ->getCalculationFacade() |
||
39 | ->recalculateOrder($orderTransfer); |
||
40 | |||
41 | if ($orderTransfer->getCustomer() === null) { |
||
42 | $orderTransfer->setCustomer(new CustomerTransfer()); |
||
43 | } |
||
44 | |||
45 | return $orderTransfer; |
||
46 | } |
||
48 |
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