| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | public function is_enableable() |
||
| 24 | { |
||
| 25 | // Require minimum phpBB version. |
||
| 26 | $is_enableable = phpbb_version_compare(PHPBB_VERSION, self::PHPBB_MIN_VERSION, '>='); |
||
| 27 | |||
| 28 | // If not enableable, add our custom install error language keys |
||
| 29 | if (!$is_enableable) |
||
| 30 | { |
||
| 31 | $lang = $this->container->get('language'); |
||
| 32 | $lang->add_lang('tip_install', 'vse/topicimagepreview'); |
||
| 33 | } |
||
| 34 | |||
| 35 | return $is_enableable; |
||
| 36 | } |
||
| 38 |
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