| Total Complexity | 2 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | final class SiteController |
||
| 11 | { |
||
| 12 | private ViewRenderer $viewRenderer; |
||
| 13 | |||
| 14 | public function __construct(ViewRenderer $viewRenderer) |
||
| 15 | { |
||
| 16 | $this->viewRenderer = $viewRenderer |
||
| 17 | ->withController($this) |
||
| 18 | ->withViewPath('@resources/backend/views'); |
||
| 19 | } |
||
| 20 | |||
| 21 | public function index(): ResponseInterface |
||
| 24 | } |
||
| 25 | } |
||
| 26 |
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