Conditions | 4 |
Paths | 2 |
Total Lines | 29 |
Code Lines | 26 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
24 | public function manualMapping($result) |
||
25 | { |
||
26 | foreach ($result as $txid => $orderData) { |
||
27 | $this->orders[] = new OrderModel( |
||
28 | $txid, |
||
29 | isset($orderData["closetm"]) ? $orderData["closetm"] : null, |
||
30 | $orderData["cost"], |
||
31 | new OrderTypeModel( |
||
32 | $orderData["descr"]["leverage"], |
||
33 | $orderData["descr"]["order"], |
||
34 | $orderData["descr"]["ordertype"], |
||
35 | $orderData["descr"]["pair"], |
||
36 | $orderData["descr"]["price"], |
||
37 | $orderData["descr"]["price2"], |
||
38 | $orderData["descr"]["type"] |
||
39 | ), |
||
40 | $orderData["expiretm"], |
||
41 | $orderData["fee"], |
||
42 | $orderData["misc"], |
||
43 | $orderData["oflags"], |
||
44 | $orderData["opentm"], |
||
45 | $orderData["price"], |
||
46 | isset($orderData["reason"]) ? $orderData["reason"] : null, |
||
47 | $orderData["refid"], |
||
48 | $orderData["starttm"], |
||
49 | $orderData["status"], |
||
50 | $orderData["userref"], |
||
51 | $orderData["vol"], |
||
52 | $orderData["vol_exec"] |
||
53 | ); |
||
65 |
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