Passed
Push — master ( c52784...833dd8 )
by Aimeos
28:15 queued 16:05
created

CustomerMigrateListsKeyFosuser   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A after() 0 3 1
A up() 0 5 1
1
<?php
2
3
/**
4
 * @license LGPLv3, http://opensource.org/licenses/LGPL-3.0
5
 * @copyright Aimeos (aimeos.org), 2019-2023
6
 */
7
8
9
 namespace Aimeos\Upscheme\Task;
10
11
12
/**
13
 * Updates key columns
14
 */
15
class CustomerMigrateListsKeyFosuser extends TablesMigrateListsKey
16
{
17
	/**
18
	 * Returns the list of task names which this task depends on.
19
	 *
20
	 * @return string[] List of task names
21
	 */
22
	public function after() : array
23
	{
24
		return ['TablesMigrateListsKey'];
25
	}
26
27
28
	/**
29
	 * Executes the task
30
	 */
31
	public function up()
32
	{
33
		$this->info( 'Update FosUser lists "key" columns', 'vv' );
34
35
		$this->process( ['db-customer' => 'fos_user_list'] );
36
	}
37
}
38