| Total Complexity | 4 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class similar_topic_words extends \phpbb\db\migration\container_aware_migration |
||
|
|
|||
| 14 | { |
||
| 15 | public function effectively_installed() |
||
| 16 | { |
||
| 17 | $config_text = $this->container->get('config_text'); |
||
| 18 | |||
| 19 | return $config_text->get('similar_topics_words') !== null; |
||
| 20 | } |
||
| 21 | |||
| 22 | public static function depends_on() |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Create the new similar_topics_words field in the CONFIG_TEXT |
||
| 29 | * table and copy the contents of the old similar_topics_words |
||
| 30 | * CONFIG value to it (if there is any) and then delete the old |
||
| 31 | * CONFIG field. |
||
| 32 | * |
||
| 33 | * @return array |
||
| 34 | */ |
||
| 35 | public function update_data() |
||
| 40 | ); |
||
| 41 | } |
||
| 43 |
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