Total Complexity | 4 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 62.5% |
Changes | 0 |
1 | <?php |
||
14 | class UserController |
||
15 | { |
||
16 | private const PAGINATION_INDEX = 5; |
||
17 | |||
18 | private ViewRenderer $viewRenderer; |
||
19 | |||
20 | 1 | public function __construct(ViewRenderer $viewRenderer) |
|
21 | { |
||
22 | 1 | $this->viewRenderer = $viewRenderer->withControllerName('user'); |
|
23 | 1 | } |
|
24 | |||
25 | 1 | public function index(Request $request, UserRepository $userRepository): Response |
|
35 | } |
||
36 | |||
37 | public function profile(Request $request, UserRepository $userRepository, ResponseFactoryInterface $responseFactory): Response |
||
48 |
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