phpbb-extensions /
googleanalytics
| 1 | <?php |
||
| 2 | /** |
||
| 3 | * |
||
| 4 | * Google Analytics extension for the phpBB Forum Software package. |
||
| 5 | * |
||
| 6 | * @copyright (c) 2018 phpBB Limited <https://www.phpbb.com> |
||
| 7 | * @license GNU General Public License, version 2 (GPL-2.0) |
||
| 8 | * |
||
| 9 | */ |
||
| 10 | |||
| 11 | namespace phpbb\googleanalytics\migrations\v10x; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Migration stage 2: Add anonymize ip config option |
||
| 15 | */ |
||
| 16 | class m2_anonymize_ip extends \phpbb\db\migration\migration |
||
|
0 ignored issues
–
show
|
|||
| 17 | { |
||
| 18 | /** |
||
| 19 | * {@inheritdoc} |
||
| 20 | */ |
||
| 21 | public static function depends_on() |
||
| 22 | { |
||
| 23 | return ['\phpbb\googleanalytics\migrations\v10x\m1_initial_data']; |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * {@inheritdoc} |
||
| 28 | */ |
||
| 29 | public function update_data() |
||
| 30 | { |
||
| 31 | return [ |
||
| 32 | ['config.add', ['ga_anonymize_ip', 0]], |
||
| 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