release_100beta2   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 2
c 2
b 0
f 0
lcom 0
cbo 1
dl 0
loc 20
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A update_data() 0 6 1
A depends_on() 0 10 1
1
<?php
2
/**
3
 *
4
 * Ajax Shoutbox extension for the phpBB Forum Software package.
5
 *
6
 * @copyright (c) 2014 Paul Sohier <http://www.ajax-shoutbox.com>
7
 * @license GNU General Public License, version 2 (GPL-2.0)
8
 *
9
 */
10
namespace paul999\ajaxshoutbox\migrations;
11
12
use phpbb\db\migration\migration;
13
14
class release_100beta2 extends migration
15
{
16
	static public function depends_on()
0 ignored issues
show
Coding Style introduced by
As per PSR2, the static declaration should come after the visibility declaration.
Loading history...
17
	{
18
		return array(
19
			'\paul999\ajaxshoutbox\migrations\release_100beta1',
20
			'\paul999\ajaxshoutbox\migrations\set_role_data',
21
			'\paul999\ajaxshoutbox\migrations\update_push_config',
22
			'\paul999\ajaxshoutbox\migrations\add_prune_config',
23
			'\paul999\ajaxshoutbox\migrations\add_module',
24
		);
25
	}
26
27
	public function update_data()
28
	{
29
		return array(
30
			array('config.update', array('ajaxshoutbox_version', '1.0.0-BETA2'))
31
		);
32
	}
33
}
34