1 | <?php |
||
2 | /** |
||
3 | * |
||
4 | * Advanced BBCode Box |
||
5 | * |
||
6 | * @copyright (c) 2020 Matt Friedman |
||
7 | * @license GNU General Public License, version 2 (GPL-2.0) |
||
8 | * |
||
9 | */ |
||
10 | |||
11 | namespace vse\abbc3\migrations; |
||
12 | |||
13 | class v330_m13_acp extends \phpbb\db\migration\migration |
||
0 ignored issues
–
show
|
|||
14 | { |
||
15 | /** |
||
16 | * {@inheritdoc} |
||
17 | */ |
||
18 | public function effectively_installed() |
||
19 | { |
||
20 | return $this->config->offsetExists('abbc3_bbcode_bar'); |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * {@inheritdoc} |
||
25 | */ |
||
26 | public static function depends_on() |
||
27 | { |
||
28 | return [ |
||
29 | '\vse\abbc3\migrations\v310_m1_remove_data', |
||
30 | '\vse\abbc3\migrations\v310_m2_remove_schema', |
||
31 | '\vse\abbc3\migrations\v310_m3_install_schema', |
||
32 | '\vse\abbc3\migrations\v310_m4_install_data', |
||
33 | '\vse\abbc3\migrations\v322_m11_reparse', |
||
34 | '\vse\abbc3\migrations\v323_m12_table_bbcode', |
||
35 | ]; |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * {@inheritdoc} |
||
40 | */ |
||
41 | public function update_data() |
||
42 | { |
||
43 | return [ |
||
44 | ['config.add', ['abbc3_pipes', 1]], |
||
45 | ['config.add', ['abbc3_bbcode_bar', 1]], |
||
46 | ['config.add', ['abbc3_qr_bbcodes', 0]], |
||
47 | ['config.add', ['abbc3_icons_type', 'png']], |
||
48 | |||
49 | ['module.add', ['acp', 'ACP_CAT_DOT_MODS', 'ACP_ABBC3_MODULE']], |
||
50 | ['module.add', ['acp', 'ACP_ABBC3_MODULE', [ |
||
51 | 'module_basename' => '\vse\abbc3\acp\abbc3_module', |
||
52 | 'modes' => ['settings'], |
||
53 | ]]], |
||
54 | // Add phpBB's BBCodes settings to the ABBC3 module (this for convenience to the user) |
||
55 | ['module.add', ['acp', 'ACP_ABBC3_MODULE', [ |
||
56 | 'module_basename' => 'acp_bbcodes', |
||
57 | 'module_langname' => 'ACP_BBCODES', |
||
58 | 'module_mode' => 'bbcodes', |
||
59 | 'module_auth' => 'ext_vse/abbc3 && acl_a_bbcode', |
||
60 | 'after' => ['settings', 'ACP_ABBC3_SETTINGS'], |
||
61 | ]]], |
||
62 | ]; |
||
63 | } |
||
64 | } |
||
65 |
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