Completed
Push — develop-stable ( 9a1552...60e8a8 )
by Paul
09:56
created

release_104::update_data()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 6
Ratio 100 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 6
loc 6
rs 9.4285
cc 1
eloc 3
nc 1
nop 0
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 View Code Duplication
class release_104 extends migration
0 ignored issues
show
Duplication introduced by
This class seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
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\remove_push_config',
20
			'\paul999\ajaxshoutbox\migrations\release_102',
21
			'\phpbb\db\migration\data\v310\gold',
22
		);
23
	}
24
25
	public function update_data()
26
	{
27
		return array(
28
			array('config.update', array('ajaxshoutbox_version', '1.0.4'))
29
		);
30
	}
31
}
32