| Conditions | 2 |
| Paths | 3 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | #[Route('/print/{id}/done', name: "print_done", methods: ["GET"])] |
||
| 23 | public function makePrintDone(Spool $spool): JsonResponse |
||
| 24 | { |
||
| 25 | try { |
||
| 26 | $spool = $this->printService->makePrintDone($spool); |
||
| 27 | return new JsonResponse($this->hydratorService->item(Spool::class, $spool->getId(), "spool_item:write"), Response::HTTP_OK); |
||
| 28 | } catch (Exception $e) { |
||
| 29 | return new JsonResponse($this->hydratorService->error($e)); |
||
| 30 | } |
||
| 33 |
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