smilecreator_1_1_0   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 2
eloc 4
c 2
b 0
f 0
dl 0
loc 12
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A depends_on() 0 3 1
A update_data() 0 5 1
1
<?php
2
3
/**
4
 * @author		Sylver35 <[email protected]>
5
 * @package		Breizh Smilie Creator Extension
6
 * @copyright	(c) 2019-2025 Sylver35  https://breizhcode.com
7
 * @license		http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
8
 */
9
10
namespace sylver35\smilecreator\migrations;
11
12
use phpbb\db\migration\migration;
13
14
class smilecreator_1_1_0 extends migration
15
{
16
	static public function depends_on()
17
	{
18
		return ['\sylver35\smilecreator\migrations\release_1_0_0_add_bbcode'];
19
	}
20
21
	public function update_data()
22
	{
23
		return [
24
			// Config
25
			['config.add', ['smiliecreator_count', 22]],
26
		];
27
	}
28
}
29