| Total Complexity | 4 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | final class FormsController |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var \App\Service\ScenarioService |
||
| 18 | */ |
||
| 19 | private $scenarioService; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Constructor |
||
| 23 | * |
||
| 24 | * @param \App\Service\ScenarioService $scenarioService |
||
| 25 | */ |
||
| 26 | public function __construct(ScenarioService $scenarioService) |
||
| 27 | { |
||
| 28 | $this->scenarioService = $scenarioService; |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Form |
||
| 33 | * |
||
| 34 | * @Route(path="/scenarios/{uuid}/forms", methods={"GET"}) |
||
| 35 | * @param string $uuid |
||
| 36 | * @return \Symfony\Component\HttpFoundation\JsonResponse |
||
| 37 | * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException |
||
| 38 | */ |
||
| 39 | public function get($uuid) |
||
| 56 | } |
||
| 57 | } |
||
| 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