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