Conditions | 3 |
Paths | 7 |
Total Lines | 15 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
26 | public function orderStatus($order_ref) |
||
27 | { |
||
28 | try { |
||
29 | $orderResponse = Order::getOrderStatus($order_ref); |
||
30 | |||
31 | if($orderResponse['error']) |
||
32 | { |
||
33 | return ApiResponseHandler::failure($orderResponse['message'],$orderResponse['exception']); |
||
34 | }else{ |
||
35 | $response = $orderResponse['body']; |
||
36 | |||
37 | return ApiResponseHandler::success($response, trans('bSecurePayments::messages.order.status.success')); |
||
38 | } |
||
39 | } catch (\Exception $e) { |
||
40 | return ApiResponseHandler::failure(trans('bSecurePayments::messages.order.status.failure'), $e->getTraceAsString()); |
||
41 | } |
||
44 |
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