1 | <?php |
||
2 | /** |
||
3 | * |
||
4 | * phpBB Media Embed PlugIn extension for the phpBB Forum Software package. |
||
5 | * |
||
6 | * @copyright (c) 2022 phpBB Limited <https://www.phpbb.com> |
||
7 | * @license GNU General Public License, version 2 (GPL-2.0) |
||
8 | * |
||
9 | */ |
||
10 | |||
11 | namespace phpbb\mediaembed\migrations; |
||
12 | |||
13 | /** |
||
14 | * Migration to install MediaEmbed config for full width responsive embeds |
||
15 | */ |
||
16 | class m6_full_width extends \phpbb\db\migration\migration |
||
0 ignored issues
–
show
|
|||
17 | { |
||
18 | public static function depends_on() |
||
19 | { |
||
20 | return ['\phpbb\mediaembed\migrations\m5_cache']; |
||
21 | } |
||
22 | |||
23 | public function effectively_installed() |
||
24 | { |
||
25 | return $this->config->offsetExists('media_embed_full_width'); |
||
26 | } |
||
27 | |||
28 | public function update_data() |
||
29 | { |
||
30 | return [ |
||
31 | ['config.add', ['media_embed_full_width', 0]], |
||
32 | ['config_text.add', ['media_embed_max_width', '']], |
||
33 | ]; |
||
34 | } |
||
35 | } |
||
36 |
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