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

CustomerMigrateListsKeyFosuser::after()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
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