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