| Conditions | 2 | 
| Paths | 3 | 
| Total Lines | 21 | 
| Code Lines | 16 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 32 | public function __invoke(Order $data, Request $request): JsonResponse  | 
            ||
| 33 |     { | 
            ||
| 34 |         try { | 
            ||
| 35 | |||
| 36 | $invoiceTax = $this->nFeService->createNfe($data, 57);  | 
            ||
| 37 | return new JsonResponse([  | 
            ||
| 38 | 'response' => [  | 
            ||
| 39 | 'data' => $data->getId(),  | 
            ||
| 40 | 'invoice_tax' => $invoiceTax->getId(),  | 
            ||
| 41 | 'xml' => $invoiceTax->getInvoice(),  | 
            ||
| 42 | 'count' => 1,  | 
            ||
| 43 | 'error' => '',  | 
            ||
| 44 | 'success' => true,  | 
            ||
| 45 | ],  | 
            ||
| 46 | ]);  | 
            ||
| 47 |         } catch (\Throwable $th) { | 
            ||
| 48 | return new JsonResponse([  | 
            ||
| 49 | 'response' => [  | 
            ||
| 50 | 'count' => 0,  | 
            ||
| 51 | 'error' => $th->getMessage(),  | 
            ||
| 52 | 'success' => false,  | 
            ||
| 53 | ],  | 
            ||
| 58 | 
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