Passed
Push — master ( e1aef6...bd32d3 )
by Stanislav
02:30
created

release_3_3_0   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 4
dl 0
loc 11
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A update_data() 0 4 1
A depends_on() 0 3 1
1
<?php
2
3
4
5
namespace phpbbgallery\core\migrations;
6
7
class release_3_3_0 extends \phpbb\db\migration\migration
0 ignored issues
show
Bug introduced by
The type phpbb\db\migration\migration was not found. Maybe you did not declare it correctly or list all dependencies?

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:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
8
{
9
	static public function depends_on()
10
	{
11
		return array('\phpbbgallery\core\migrations\release_1_2_0_db_create');
12
	}
13
14
	public function update_data()
15
	{
16
		return array(
17
			array('config.update', array('phpbb_gallery_version', '3.3.0'))
18
		);
19
	}
20
21
}
22