| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | public function __invoke(): Response |
||
| 32 | { |
||
| 33 | $query = new GetSettings(); |
||
| 34 | $settings = $this->queryBus->handle($query); |
||
| 35 | |||
| 36 | if (null === $settings) { |
||
| 37 | return new RedirectResponse($this->generateUrl('admin_settings_new')); |
||
| 38 | } |
||
| 39 | |||
| 40 | return $this->render('Administration/Settings/index.html.twig', [ |
||
| 41 | 'settings' => $settings, |
||
| 42 | ]); |
||
| 45 |
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