Conditions | 2 |
Paths | 2 |
Total Lines | 16 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | public function map(OrderTransfer $orderTransfer): SevensendersRequestTransfer |
||
21 | { |
||
22 | $payload = [ |
||
23 | 'order_id' => (string)$orderTransfer->getIdSalesOrder(), |
||
24 | 'order_url' => '', |
||
25 | 'order_date' => $orderTransfer->getCreatedAt(), |
||
26 | 'delivered_with_seven_senders' => true, |
||
27 | 'boarding_complete' => true, |
||
28 | 'language' => $orderTransfer->getLocale() ? $orderTransfer->getLocale()->getLocaleName() : '', |
||
29 | 'promised_delivery_date' => $orderTransfer->getShipmentDeliveryTime(), |
||
30 | ]; |
||
31 | |||
32 | $transfer = new SevensendersRequestTransfer(); |
||
33 | $transfer->setPayload($payload); |
||
34 | |||
35 | return $transfer; |
||
36 | } |
||
38 |
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