| Total Complexity | 1 |
| Total Lines | 11 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 13 | */ |
||
| 14 | class DashboardController extends Container |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * Index page |
||
| 18 | * |
||
| 19 | * @param Request $request PSR7 request |
||
| 20 | * @param Response $response PSR7 response |
||
| 21 | */ |
||
| 22 | public function index(/** @scrutinizer ignore-unused */ Request $request, Response $response) : Response |
||
| 23 | { |
||
| 24 | return $response->withRedirect($this->router->pathFor('admin.entries.index')); |
||
| 27 |
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