| Total Complexity | 3 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | class m4_notification_data extends \phpbb\db\migration\migration |
||
|
|
|||
| 17 | { |
||
| 18 | /** |
||
| 19 | * Assign migration file dependencies for this migration |
||
| 20 | * |
||
| 21 | * @return array Array of migration files |
||
| 22 | * @static |
||
| 23 | * @access public |
||
| 24 | */ |
||
| 25 | public static function depends_on() |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Add table columns schema to the database: |
||
| 32 | * auto groups: |
||
| 33 | * autogroups_id |
||
| 34 | * |
||
| 35 | * @return array Array of table columns schema |
||
| 36 | * @access public |
||
| 37 | */ |
||
| 38 | public function update_schema() |
||
| 39 | { |
||
| 40 | return array( |
||
| 41 | 'add_columns' => array( |
||
| 42 | $this->table_prefix . 'autogroups_rules' => array( |
||
| 43 | 'autogroups_notify' => array('BOOL', 0), |
||
| 44 | ), |
||
| 45 | ), |
||
| 46 | ); |
||
| 47 | } |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Drop table columns schema from the database |
||
| 51 | * |
||
| 52 | * @return array Array of table columns schema |
||
| 53 | * @access public |
||
| 54 | */ |
||
| 55 | public function revert_schema() |
||
| 61 | ), |
||
| 62 | ), |
||
| 66 |
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