| Conditions | 3 |
| Paths | 3 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 34 | public static function getRenderer($headline) |
||
| 35 | { |
||
| 36 | if (is_file(XOOPS_ROOT_PATH . '/modules/xoopsheadline/language/' . $GLOBALS['xoopsConfig']['language'] . '/headlinerenderer.php')) { |
||
| 37 | require_once XOOPS_ROOT_PATH . '/modules/xoopsheadline/language/' . $GLOBALS['xoopsConfig']['language'] . '/headlinerenderer.php'; |
||
| 38 | if (class_exists('HeadlineRendererLocal')) { |
||
| 39 | $myhl = new HeadlineRendererLocal($headline); |
||
| 40 | |||
| 41 | return $myhl; |
||
| 42 | } |
||
| 43 | } |
||
| 44 | $myhl = new HeadlineRenderer($headline); |
||
| 45 | |||
| 46 | return $myhl; |
||
| 47 | } |
||
| 49 |
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