| Total Complexity | 3 |
| Total Lines | 52 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class v310_m2_remove_schema extends \phpbb\db\migration\migration |
||
|
|
|||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Run migration if abbcode column exists in the bbcodes table |
||
| 21 | * |
||
| 22 | * @return bool |
||
| 23 | */ |
||
| 24 | public function effectively_installed() |
||
| 25 | { |
||
| 26 | return !$this->db_tools->sql_column_exists($this->table_prefix . 'bbcodes', 'abbcode'); |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * {@inheritdoc} |
||
| 31 | */ |
||
| 32 | public static function depends_on() |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * {@inheritdoc} |
||
| 39 | */ |
||
| 40 | public function update_schema() |
||
| 69 | ), |
||
| 70 | ), |
||
| 74 |
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