| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class m7_adblocker extends \phpbb\db\migration\migration |
||
|
|
|||
| 14 | { |
||
| 15 | /** |
||
| 16 | * {@inheritDoc} |
||
| 17 | */ |
||
| 18 | public function effectively_installed() |
||
| 19 | { |
||
| 20 | return $this->config->offsetExists('phpbb_ads_adblocker_message'); |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * {@inheritDoc} |
||
| 25 | */ |
||
| 26 | public static function depends_on() |
||
| 27 | { |
||
| 28 | return array('\phpbb\ads\migrations\v10x\m1_initial_schema'); |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Add phpbb_ads_adblocker_message config |
||
| 33 | * |
||
| 34 | * @return array Array of data update instructions |
||
| 35 | */ |
||
| 36 | public function update_data() |
||
| 40 | ); |
||
| 41 | } |
||
| 42 | } |
||
| 43 |
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