phpbb-extensions /
googleanalytics
| 1 | <?php |
||
| 2 | /** |
||
| 3 | * |
||
| 4 | * Google Analytics extension for the phpBB Forum Software package. |
||
| 5 | * |
||
| 6 | * @copyright (c) 2014 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 1: Initial data changes to the database |
||
| 15 | */ |
||
| 16 | class m1_initial_data extends \phpbb\db\migration\migration |
||
|
0 ignored issues
–
show
|
|||
| 17 | { |
||
| 18 | /** |
||
| 19 | * Assign migration file dependencies for this migration |
||
| 20 | * |
||
| 21 | * @return array Array of migration files |
||
| 22 | * @static |
||
| 23 | * @access public |
||
| 24 | */ |
||
| 25 | public static function depends_on() |
||
| 26 | { |
||
| 27 | return ['\phpbb\db\migration\data\v310\gold']; |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Add Google Analytics data to the database. |
||
| 32 | * |
||
| 33 | * @return array Array of table data |
||
| 34 | * @access public |
||
| 35 | */ |
||
| 36 | public function update_data() |
||
| 37 | { |
||
| 38 | return [ |
||
| 39 | ['config.add', ['googleanalytics_id', '']], |
||
| 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