Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
95.83% |
23 / 24 |
|
66.67% |
2 / 3 |
CRAP | |
0.00% |
0 / 1 |
| alpha1 | |
95.83% |
23 / 24 |
|
66.67% |
2 / 3 |
3 | |
0.00% |
0 / 1 |
| effectively_installed | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| depends_on | |
100.00% |
20 / 20 |
|
100.00% |
1 / 1 |
1 | |||
| update_data | |
100.00% |
3 / 3 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | /** |
| 3 | * |
| 4 | * This file is part of the phpBB Forum Software package. |
| 5 | * |
| 6 | * @copyright (c) phpBB Limited <https://www.phpbb.com> |
| 7 | * @license GNU General Public License, version 2 (GPL-2.0) |
| 8 | * |
| 9 | * For full copyright and license information, please see |
| 10 | * the docs/CREDITS.txt file. |
| 11 | * |
| 12 | */ |
| 13 | |
| 14 | namespace phpbb\db\migration\data\v310; |
| 15 | |
| 16 | class alpha1 extends \phpbb\db\migration\migration |
| 17 | { |
| 18 | public function effectively_installed() |
| 19 | { |
| 20 | return phpbb_version_compare($this->config['version'], '3.1.0-a1', '>='); |
| 21 | } |
| 22 | |
| 23 | public static function depends_on() |
| 24 | { |
| 25 | return array( |
| 26 | '\phpbb\db\migration\data\v30x\local_url_bbcode', |
| 27 | '\phpbb\db\migration\data\v30x\release_3_0_12', |
| 28 | '\phpbb\db\migration\data\v310\acp_style_components_module', |
| 29 | '\phpbb\db\migration\data\v310\allow_cdn', |
| 30 | '\phpbb\db\migration\data\v310\auth_provider_oauth', |
| 31 | '\phpbb\db\migration\data\v310\avatars', |
| 32 | '\phpbb\db\migration\data\v310\boardindex', |
| 33 | '\phpbb\db\migration\data\v310\config_db_text', |
| 34 | '\phpbb\db\migration\data\v310\forgot_password', |
| 35 | '\phpbb\db\migration\data\v310\mod_rewrite', |
| 36 | '\phpbb\db\migration\data\v310\mysql_fulltext_drop', |
| 37 | '\phpbb\db\migration\data\v310\namespaces', |
| 38 | '\phpbb\db\migration\data\v310\notifications_cron', |
| 39 | '\phpbb\db\migration\data\v310\notification_options_reconvert', |
| 40 | '\phpbb\db\migration\data\v310\plupload', |
| 41 | '\phpbb\db\migration\data\v310\signature_module_auth', |
| 42 | '\phpbb\db\migration\data\v310\softdelete_mcp_modules', |
| 43 | '\phpbb\db\migration\data\v310\teampage', |
| 44 | ); |
| 45 | } |
| 46 | |
| 47 | public function update_data() |
| 48 | { |
| 49 | return array( |
| 50 | array('config.update', array('version', '3.1.0-a1')), |
| 51 | ); |
| 52 | } |
| 53 | } |