Total Complexity | 4 |
Total Lines | 50 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class m3_add_start_date extends \phpbb\db\migration\migration |
||
|
|||
14 | { |
||
15 | /** |
||
16 | * {@inheritDoc} |
||
17 | */ |
||
18 | public function effectively_installed() |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * {@inheritDoc} |
||
25 | */ |
||
26 | public static function depends_on() |
||
31 | ]; |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * Add the start date option to ads table |
||
36 | * |
||
37 | * @return array Array of table schema |
||
38 | * @access public |
||
39 | */ |
||
40 | public function update_schema() |
||
41 | { |
||
42 | return [ |
||
43 | 'add_columns' => [ |
||
44 | $this->table_prefix . 'ads' => [ |
||
45 | 'ad_start_date' => ['TIMESTAMP', 0], |
||
46 | ], |
||
47 | ], |
||
48 | ]; |
||
49 | } |
||
50 | |||
51 | /** |
||
52 | * Drop the start date option from ads table |
||
53 | * |
||
54 | * @return array Array of table schema |
||
55 | * @access public |
||
56 | */ |
||
57 | public function revert_schema() |
||
63 | ], |
||
64 | ], |
||
68 |
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