| Conditions | 3 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public function is_enableable() |
||
| 16 | { |
||
| 17 | $db = $this->container->get('dbal.conn'); |
||
| 18 | $enableable = in_array($db->get_sql_layer(), array('mysqli', 'mysql4', 'postgres')); |
||
| 19 | |||
| 20 | if (!$enableable && phpbb_version_compare(PHPBB_VERSION, '3.3.0-b1', '>=')) |
||
| 21 | { |
||
| 22 | $lang = $this->container->get('language'); |
||
| 23 | $lang->add_lang('acp_similar_topics', 'vse/similartopics'); |
||
| 24 | return array($lang->lang('PST_NO_COMPAT')); |
||
| 25 | } |
||
| 26 | |||
| 27 | return $enableable; |
||
| 28 | } |
||
| 30 |
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