Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | * @Security("is_granted('ROLE_ADMIN') or is_granted('ROLE_CLIENT')") |
||
23 | */ |
||
24 | public function getPurchasingSuggestion(Request $request): JsonResponse |
||
25 | { |
||
26 | $company = $this->entityManager->getRepository(People::class)->find($request->get('company')); |
||
27 | $data = $this->orderService->getPurchasingSuggestion($company); |
||
28 | return new JsonResponse($data); |
||
29 | } |
||
30 | } |
||
31 |
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