Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
31 | public function getStandaloneView(string $templateName): StandaloneView |
||
32 | { |
||
33 | /** @var StandaloneView $view */ |
||
34 | $view = GeneralUtility::makeInstance(StandaloneView::class); |
||
35 | |||
36 | $view->setLayoutRootPaths([NotizConstants::VIEW_LAYOUTS_ROOT_PATH]); |
||
37 | $view->setPartialRootPaths([NotizConstants::VIEW_PARTIALS_ROOT_PATH]); |
||
38 | $view->setTemplateRootPaths([NotizConstants::VIEW_TEMPLATES_ROOT_PATH]); |
||
39 | |||
40 | $view->setTemplate($templateName); |
||
41 | |||
42 | $view->getRequest()->setControllerExtensionName(NotizConstants::EXTENSION_KEY); |
||
43 | |||
44 | return $view; |
||
45 | } |
||
47 |
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