| Total Complexity | 3 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | class install_module extends \phpbb\db\migration\migration |
||
|
|
|||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @inheritdoc |
||
| 20 | */ |
||
| 21 | public function effectively_installed() |
||
| 22 | { |
||
| 23 | $sql = 'SELECT module_id |
||
| 24 | FROM ' . $this->table_prefix . "modules |
||
| 25 | WHERE module_class = 'acp' |
||
| 26 | AND module_langname = 'ACP_MANAGE_PREFIXES'"; |
||
| 27 | $result = $this->db->sql_query($sql); |
||
| 28 | $module_id = $this->db->sql_fetchfield('module_id'); |
||
| 29 | $this->db->sql_freeresult($result); |
||
| 30 | |||
| 31 | return $module_id !== false; |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @inheritdoc |
||
| 36 | */ |
||
| 37 | public static function depends_on() |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @inheritdoc |
||
| 44 | */ |
||
| 45 | public function update_data() |
||
| 56 |
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