| Conditions | 2 |
| Paths | 3 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 35 | public function __invoke(Request $request): Response |
||
| 36 | { |
||
| 37 | $familyLog = \json_decode($request->getContent(), true, 512, \JSON_THROW_ON_ERROR); |
||
| 38 | |||
| 39 | try { |
||
| 40 | $command = new CreateFamilyLog( |
||
| 41 | NameField::fromString($familyLog['label']), |
||
| 42 | $familyLog['parent'] |
||
| 43 | ); |
||
| 44 | $this->commandBus->dispatch($command); |
||
| 45 | } catch (\DomainException $exception) { |
||
| 46 | throw new \DomainException($exception->getMessage()); |
||
| 47 | } |
||
| 48 | |||
| 49 | return new Response('FamilyLog create started!', Response::HTTP_CREATED); |
||
| 50 | } |
||
| 52 |
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