Conditions | 2 |
Paths | 3 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
31 | public function __invoke(string $uuid): Response |
||
32 | { |
||
33 | try { |
||
34 | $this->commandBus->dispatch(new DeleteUser($uuid)); |
||
35 | $this->addFlash('success', 'User deleted started!'); |
||
36 | } catch (\RuntimeException $exception) { |
||
37 | $this->addFlash('error', $exception->getMessage()); |
||
38 | } |
||
39 | |||
40 | return new RedirectResponse($this->generateUrl('admin_user_index')); |
||
41 | } |
||
43 |
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