| Total Complexity | 2 |
| Total Lines | 44 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | final class TranslationController |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var \App\Service\ScenarioService |
||
| 18 | */ |
||
| 19 | private $scenarioService; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var \Symfony\Component\HttpFoundation\RequestStack |
||
| 23 | */ |
||
| 24 | private $requestStack; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | private $locale; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Constructor |
||
| 33 | * |
||
| 34 | * @param \App\Service\ScenarioService $scenarioService |
||
| 35 | * @param \Symfony\Component\HttpFoundation\RequestStack $requestStack |
||
| 36 | */ |
||
| 37 | public function __construct(ScenarioService $scenarioService, RequestStack $requestStack, string $locale) |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Form |
||
| 46 | * |
||
| 47 | * @Route(path="/scenarios/{uuid}/forms/translation", methods={"GET"}) |
||
| 48 | * @param string $uuid |
||
| 49 | * @return \Symfony\Component\HttpFoundation\JsonResponse |
||
| 50 | */ |
||
| 51 | public function get($uuid) |
||
| 60 |
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