| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class PurchasingSuggestionAction |
||
| 12 | { |
||
| 13 | public function __construct( |
||
| 14 | private EntityManagerInterface $entityManager, |
||
| 15 | private OrderPrintService $print |
||
| 16 | ) {} |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @Route("/orders/purchasing-suggestion", name="invoice_inflow", methods={"GET"}) |
||
| 20 | * @IsGranted("ROLE_ADMIN") |
||
| 21 | */ |
||
| 22 | public function __invoke(Request $request, int $id): JsonResponse |
||
| 36 | } |
||
| 37 | } |
||
| 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