Completed
Push — master ( 110887...ff6c7f )
by Aimeos
10:07
created

setup/unitperf/MShopAddCodeDataUnitperf.php (1 issue)

Labels
Severity

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
/**
4
 * @license LGPLv3, http://opensource.org/licenses/LGPL-3.0
5
 * @copyright Aimeos (aimeos.org), 2015-2017
6
 */
7
8
9
namespace Aimeos\MW\Setup\Task;
10
11
12
/**
13
 * Adds default codes to tables
14
 */
15
class MShopAddCodeDataUnitperf extends \Aimeos\MW\Setup\Task\MShopAddCodeData
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 getPreDependencies()
23
	{
24
		return array( 'MShopSetLocale' );
25
	}
26
27
28
	/**
29
	 * Returns the list of task names which depends on this task
30
	 *
31
	 * @return string[] List of task names
32
	 */
33
	public function getPostDependencies()
34
	{
35
		return [];
36
	}
37
38
39
	/**
40
	 * Executes the task for MySQL databases
41
	 */
42
	public function migrate()
43
	{
44
		$this->process();
0 ignored issues
show
The call to process() misses a required argument $data.

This check looks for function calls that miss required arguments.

Loading history...
45
	}
46
}