Conditions | 3 |
Paths | 3 |
Total Lines | 13 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
20 | public static function getRenderer(Headline $headline) |
||
21 | { |
||
22 | if (\is_file(XOOPS_ROOT_PATH . '/modules/xoopsheadline/language/' . $GLOBALS['xoopsConfig']['language'] . '/headlinerenderer.php')) { |
||
23 | require_once XOOPS_ROOT_PATH . '/modules/xoopsheadline/language/' . $GLOBALS['xoopsConfig']['language'] . '/headlinerenderer.php'; |
||
24 | if (\class_exists('HeadlineRendererLocal')) { |
||
25 | $myhl = new HeadlineRendererLocal($headline); |
||
|
|||
26 | |||
27 | return $myhl; |
||
28 | } |
||
29 | } |
||
30 | $myhl = new HeadlineRenderer($headline); |
||
31 | |||
32 | return $myhl; |
||
33 | } |
||
35 |
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