Total Complexity | 5 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class release_1_4_3_data extends \phpbb\db\migration\migration |
||
|
|||
14 | { |
||
15 | public function effectively_installed() |
||
16 | { |
||
17 | return $this->config->offsetExists('similar_topics_sense'); |
||
18 | } |
||
19 | |||
20 | public static function depends_on() |
||
23 | } |
||
24 | |||
25 | public function update_data() |
||
26 | { |
||
27 | return array( |
||
28 | array('config.add', array('similar_topics_sense', $this->get_default_sensitivity())), |
||
29 | ); |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * Get default sensitivity setting |
||
34 | * Seems like 5 will be best for MyISAM and 1 will be best for InnoDB |
||
35 | * |
||
36 | * @return int |
||
37 | */ |
||
38 | public function get_default_sensitivity() |
||
43 | } |
||
44 | } |
||
45 |
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