| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | public function __invoke(): Response |
||
| 25 | { |
||
| 26 | $query = new GetSettingsQuery(); |
||
| 27 | /** @var OutputSettings $settings */ |
||
| 28 | $settings = $this->handle($query); |
||
| 29 | |||
| 30 | if (!$settings instanceof OutputSettings) { |
||
| 31 | throw new SettingsNotFoundException(); |
||
| 32 | } |
||
| 33 | |||
| 34 | $settingsSerialized = $this->serialize($settings, ['groups' => 'read']); |
||
| 35 | |||
| 36 | return $this->response($settingsSerialized, Response::HTTP_OK); |
||
| 37 | } |
||
| 39 |
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