phpbb-extensions /
ad-management
| 1 | <?php |
||
| 2 | /** |
||
| 3 | * |
||
| 4 | * Advertisement management. An extension for the phpBB Forum Software package. |
||
| 5 | * |
||
| 6 | * @copyright (c) 2025 phpBB Limited <https://www.phpbb.com> |
||
| 7 | * @license GNU General Public License, version 2 (GPL-2.0) |
||
| 8 | * |
||
| 9 | */ |
||
| 10 | |||
| 11 | namespace phpbb\ads\migrations\v20x; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Migration stage 5: Add setting to show privacy agreement |
||
| 15 | */ |
||
| 16 | class m5_add_privacy_setting extends \phpbb\db\migration\migration |
||
|
0 ignored issues
–
show
|
|||
| 17 | { |
||
| 18 | /** |
||
| 19 | * {@inheritdoc |
||
| 20 | */ |
||
| 21 | public function effectively_installed() |
||
| 22 | { |
||
| 23 | $this->config->offsetExists('phpbb_ads_show_agreement'); |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * {@inheritDoc} |
||
| 28 | */ |
||
| 29 | public static function depends_on() |
||
| 30 | { |
||
| 31 | return ['\phpbb\ads\migrations\v20x\m4_admin_permission']; |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * {@inheritDoc} |
||
| 36 | */ |
||
| 37 | public function update_data() |
||
| 38 | { |
||
| 39 | return [ |
||
| 40 | ['config.add', ['phpbb_ads_show_agreement', 0]], |
||
| 41 | ]; |
||
| 42 | } |
||
| 43 | } |
||
| 44 |
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