| Total Complexity | 2 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class PurchasingSuggestionController extends AbstractController |
||
| 13 | { |
||
| 14 | public function __construct( |
||
| 15 | private EntityManagerInterface $entityManager, |
||
| 16 | private OrderService $orderService |
||
| 17 | ) {} |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @Route("/orders/purchasing-suggestion", name="invoice_inflow", methods={"GET"}) |
||
| 21 | * @Security("is_granted('ROLE_ADMIN') or is_granted('ROLE_CLIENT')") |
||
| 22 | */ |
||
| 23 | public function getPurchasingSuggestion(Request $request): JsonResponse |
||
| 28 | } |
||
| 29 | } |
||
| 30 |
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