Completed
Push — master ( a26cf1...8c23c8 )
by Aimeos
09:58
created
lib/custom/setup/unittest/data/customer-property.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,12 +5,12 @@
 block discarded – undo
5 5
  * @copyright Aimeos (aimeos.org), 2018
6 6
  */
7 7
 
8
-return array (
8
+return array(
9 9
 	'customer/property/type' => array(
10
-		'customer/property/type/newsletter' => array( 'domain' => 'customer', 'code' => 'newsletter', 'label' => 'Newsletter', 'status' => 1 ),
10
+		'customer/property/type/newsletter' => array('domain' => 'customer', 'code' => 'newsletter', 'label' => 'Newsletter', 'status' => 1),
11 11
 	),
12 12
 
13 13
 	'customer/property' => array(
14
-		'customer/property/UTC001/newsletter' => array( 'parentid' => 'customer/UTC001', 'typeid' => 'customer/property/type/newsletter', 'langid' => null, 'value' => '1' ),
14
+		'customer/property/UTC001/newsletter' => array('parentid' => 'customer/UTC001', 'typeid' => 'customer/property/type/newsletter', 'langid' => null, 'value' => '1'),
15 15
 	),
16 16
 );
17 17
\ No newline at end of file
Please login to merge, or discard this patch.
lib/custom/setup/CustomerRemoveLostUserDataLaravel.php 2 patches
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 	 */
39 39
 	public function getPostDependencies()
40 40
 	{
41
-		return array( 'TablesCreateMShop' );
41
+		return array('TablesCreateMShop');
42 42
 	}
43 43
 
44 44
 
@@ -47,29 +47,29 @@  discard block
 block discarded – undo
47 47
 	 */
48 48
 	public function migrate()
49 49
 	{
50
-		$this->msg( 'Remove left over Laravel user address records', 0 );
50
+		$this->msg('Remove left over Laravel user address records', 0);
51 51
 
52
-		if( $this->schema->tableExists( 'users' ) && $this->schema->tableExists( 'users_address' ) )
52
+		if ($this->schema->tableExists('users') && $this->schema->tableExists('users_address'))
53 53
 		{
54
-			$this->execute( $this->sql['address'] );
55
-			$this->status( 'done' );
54
+			$this->execute($this->sql['address']);
55
+			$this->status('done');
56 56
 		}
57 57
 		else
58 58
 		{
59
-			$this->status( 'OK' );
59
+			$this->status('OK');
60 60
 		}
61 61
 
62 62
 
63
-		$this->msg( 'Remove left over Laravel user list records', 0 );
63
+		$this->msg('Remove left over Laravel user list records', 0);
64 64
 
65
-		if( $this->schema->tableExists( 'users' ) && $this->schema->tableExists( 'users_list' ) )
65
+		if ($this->schema->tableExists('users') && $this->schema->tableExists('users_list'))
66 66
 		{
67
-			$this->execute( $this->sql['list'] );
68
-			$this->status( 'done' );
67
+			$this->execute($this->sql['list']);
68
+			$this->status('done');
69 69
 		}
70 70
 		else
71 71
 		{
72
-			$this->status( 'OK' );
72
+			$this->status('OK');
73 73
 		}
74 74
 	}
75 75
 }
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@  discard block
 block discarded – undo
53 53
 		{
54 54
 			$this->execute( $this->sql['address'] );
55 55
 			$this->status( 'done' );
56
-		}
57
-		else
56
+		} else
58 57
 		{
59 58
 			$this->status( 'OK' );
60 59
 		}
@@ -66,8 +65,7 @@  discard block
 block discarded – undo
66 65
 		{
67 66
 			$this->execute( $this->sql['list'] );
68 67
 			$this->status( 'done' );
69
-		}
70
-		else
68
+		} else
71 69
 		{
72 70
 			$this->status( 'OK' );
73 71
 		}
Please login to merge, or discard this patch.
lib/custom/src/MShop/Customer/Manager/Property/Type/Laravel.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 		'customer.property.type.id' => array(
25 25
 			'code' => 'customer.property.type.id',
26 26
 			'internalcode' => 'lvuprty."id"',
27
-			'internaldeps' => array( 'LEFT JOIN "users_property_type" AS lvuprty ON ( lvupr."typeid" = lvuprty."id" )' ),
27
+			'internaldeps' => array('LEFT JOIN "users_property_type" AS lvuprty ON ( lvupr."typeid" = lvuprty."id" )'),
28 28
 			'label' => 'Property type ID',
29 29
 			'type' => 'integer',
30 30
 			'internaltype' => \Aimeos\MW\DB\Statement\Base::PARAM_INT,
@@ -105,14 +105,14 @@  discard block
 block discarded – undo
105 105
 	 *
106 106
 	 * @param array $siteids List of IDs for sites whose entries should be deleted
107 107
 	 */
108
-	public function cleanup( array $siteids )
108
+	public function cleanup(array $siteids)
109 109
 	{
110 110
 		$path = 'mshop/customer/manager/property/type/submanagers';
111
-		foreach( $this->getContext()->getConfig()->get( $path, [] ) as $domain ) {
112
-			$this->getObject()->getSubManager( $domain )->cleanup( $siteids );
111
+		foreach ($this->getContext()->getConfig()->get($path, []) as $domain) {
112
+			$this->getObject()->getSubManager($domain)->cleanup($siteids);
113 113
 		}
114 114
 
115
-		$this->cleanupBase( $siteids, 'mshop/customer/manager/property/type/laravel/delete' );
115
+		$this->cleanupBase($siteids, 'mshop/customer/manager/property/type/laravel/delete');
116 116
 	}
117 117
 
118 118
 
@@ -122,11 +122,11 @@  discard block
 block discarded – undo
122 122
 	 * @param boolean $withsub Return also attributes of sub-managers if true
123 123
 	 * @return array Returns a list of attribtes implementing \Aimeos\MW\Criteria\Attribute\Iface
124 124
 	 */
125
-	public function getSearchAttributes( $withsub = true )
125
+	public function getSearchAttributes($withsub = true)
126 126
 	{
127 127
 		$path = 'mshop/customer/manager/property/type/submanagers';
128 128
 
129
-		return $this->getSearchAttributesBase( $this->searchConfig, $path, [], $withsub );
129
+		return $this->getSearchAttributesBase($this->searchConfig, $path, [], $withsub);
130 130
 	}
131 131
 
132 132
 
@@ -137,9 +137,9 @@  discard block
 block discarded – undo
137 137
 	 * @param string|null $name Name of the implementation, will be from configuration (or Default) if null
138 138
 	 * @return \Aimeos\MShop\Common\Manager\Iface Manager for different extensions, e.g types, lists etc.
139 139
 	 */
140
-	public function getSubManager( $manager, $name = null )
140
+	public function getSubManager($manager, $name = null)
141 141
 	{
142
-		return $this->getSubManagerBase( 'customer', 'property/type/' . $manager, ( $name === null ? 'Laravel' : $name ) );
142
+		return $this->getSubManagerBase('customer', 'property/type/'.$manager, ($name === null ? 'Laravel' : $name));
143 143
 	}
144 144
 
145 145
 
Please login to merge, or discard this patch.
lib/custom/src/MW/Filesystem/Manager/Laravel.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -31,9 +31,9 @@  discard block
 block discarded – undo
31 31
 	 * @param \Aimeos\MW\Config\Iface $config Configuration object
32 32
 	 * @param string $tempdir Directory for storing temporary files
33 33
 	 */
34
-	public function __construct( \Illuminate\Filesystem\FilesystemManager $fsm, \Aimeos\MW\Config\Iface $config, $tempdir )
34
+	public function __construct(\Illuminate\Filesystem\FilesystemManager $fsm, \Aimeos\MW\Config\Iface $config, $tempdir)
35 35
 	{
36
-		parent::__construct( $config );
36
+		parent::__construct($config);
37 37
 
38 38
 		$this->fsm = $fsm;
39 39
 		$this->tempdir = $tempdir;
@@ -45,8 +45,8 @@  discard block
 block discarded – undo
45 45
 	 */
46 46
 	public function __destruct()
47 47
 	{
48
-		foreach( $this->objects as $key => $object ) {
49
-			unset( $this->objects[$key] );
48
+		foreach ($this->objects as $key => $object) {
49
+			unset($this->objects[$key]);
50 50
 		}
51 51
 	}
52 52
 
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 
61 61
 		$this->objects = [];
62 62
 
63
-		return get_object_vars( $this );
63
+		return get_object_vars($this);
64 64
 	}
65 65
 
66 66
 
@@ -71,19 +71,19 @@  discard block
 block discarded – undo
71 71
 	 * @return \Aimeos\MW\Filesystem\Iface File system object
72 72
 	 * @throws \Aimeos\MW\Filesystem\Exception If an no configuration for that name is found
73 73
 	 */
74
-	public function get( $name )
74
+	public function get($name)
75 75
 	{
76
-		$key = $this->getConfig( $name );
76
+		$key = $this->getConfig($name);
77 77
 
78
-		if( is_string( $key ) )
78
+		if (is_string($key))
79 79
 		{
80
-			if( !isset( $this->objects[$key] ) ) {
81
-				$this->objects[$key] = new \Aimeos\MW\Filesystem\Laravel( $this->fsm->disk( $key ), $this->tempdir );
80
+			if (!isset($this->objects[$key])) {
81
+				$this->objects[$key] = new \Aimeos\MW\Filesystem\Laravel($this->fsm->disk($key), $this->tempdir);
82 82
 			}
83 83
 
84 84
 			return $this->objects[$key];
85 85
 		}
86 86
 
87
-		return parent::get( $name );
87
+		return parent::get($name);
88 88
 	}
89 89
 }
Please login to merge, or discard this patch.
lib/custom/setup/unittest/CustomerAddLaravelTestData.php 1 patch
Spacing   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 	 */
22 22
 	public function getPreDependencies()
23 23
 	{
24
-		return array( 'TablesAddLaravelTestData' );
24
+		return array('TablesAddLaravelTestData');
25 25
 	}
26 26
 
27 27
 
@@ -30,34 +30,34 @@  discard block
 block discarded – undo
30 30
 	 */
31 31
 	public function migrate()
32 32
 	{
33
-		\Aimeos\MW\Common\Base::checkClass( '\\Aimeos\\MShop\\Context\\Item\\Iface', $this->additional );
33
+		\Aimeos\MW\Common\Base::checkClass('\\Aimeos\\MShop\\Context\\Item\\Iface', $this->additional);
34 34
 
35
-		$this->msg( 'Adding Laravel customer test data', 0 );
36
-		$this->additional->setEditor( 'ai-laravel:unittest' );
35
+		$this->msg('Adding Laravel customer test data', 0);
36
+		$this->additional->setEditor('ai-laravel:unittest');
37 37
 
38 38
 		$parentIds = [];
39 39
 		$ds = DIRECTORY_SEPARATOR;
40
-		$path = __DIR__ . $ds . 'data' . $ds . 'customer.php';
40
+		$path = __DIR__.$ds.'data'.$ds.'customer.php';
41 41
 
42
-		if( ( $testdata = include( $path ) ) == false ){
43
-			throw new \Aimeos\MShop\Exception( sprintf( 'No file "%1$s" found for customer domain', $path ) );
42
+		if (($testdata = include($path)) == false) {
43
+			throw new \Aimeos\MShop\Exception(sprintf('No file "%1$s" found for customer domain', $path));
44 44
 		}
45 45
 
46 46
 
47
-		$customerManager = \Aimeos\MShop\Customer\Manager\Factory::createManager( $this->additional, 'Laravel' );
48
-		$customerAddressManager = $customerManager->getSubManager( 'address', 'Laravel' );
47
+		$customerManager = \Aimeos\MShop\Customer\Manager\Factory::createManager($this->additional, 'Laravel');
48
+		$customerAddressManager = $customerManager->getSubManager('address', 'Laravel');
49 49
 
50
-		$this->cleanupCustomerData( $customerManager, $customerAddressManager );
50
+		$this->cleanupCustomerData($customerManager, $customerAddressManager);
51 51
 
52 52
 		$this->conn->begin();
53 53
 
54
-		$parentIds = $this->addCustomerData( $testdata, $customerManager, $customerAddressManager->createItem() );
55
-		$this->addCustomerAddressData( $testdata, $customerAddressManager, $parentIds );
54
+		$parentIds = $this->addCustomerData($testdata, $customerManager, $customerAddressManager->createItem());
55
+		$this->addCustomerAddressData($testdata, $customerAddressManager, $parentIds);
56 56
 
57 57
 		$this->conn->commit();
58 58
 
59 59
 
60
-		$this->status( 'done' );
60
+		$this->status('done');
61 61
 	}
62 62
 
63 63
 
@@ -67,17 +67,17 @@  discard block
 block discarded – undo
67 67
 	 * @param \Aimeos\MShop\Common\Manager\Iface $customerManager Customer manager
68 68
 	 * @param \Aimeos\MShop\Common\Manager\Iface $customerAddressManager Customer address manager
69 69
 	 */
70
-	protected function cleanupCustomerData( \Aimeos\MShop\Common\Manager\Iface $customerManager, \Aimeos\MShop\Common\Manager\Iface $customerAddressManager )
70
+	protected function cleanupCustomerData(\Aimeos\MShop\Common\Manager\Iface $customerManager, \Aimeos\MShop\Common\Manager\Iface $customerAddressManager)
71 71
 	{
72 72
 		$search = $customerManager->createSearch();
73
-		$search->setConditions( $search->compare( '=~', 'customer.code', 'UTC00' ) );
74
-		$customerItems = $customerManager->searchItems( $search );
73
+		$search->setConditions($search->compare('=~', 'customer.code', 'UTC00'));
74
+		$customerItems = $customerManager->searchItems($search);
75 75
 
76 76
 		$search = $customerAddressManager->createSearch();
77
-		$search->setConditions( $search->compare( '=~', 'customer.address.email', 'unitCustomer' ) );
78
-		$addressItems = $customerAddressManager->searchItems( $search );
77
+		$search->setConditions($search->compare('=~', 'customer.address.email', 'unitCustomer'));
78
+		$addressItems = $customerAddressManager->searchItems($search);
79 79
 
80
-		$customerAddressManager->deleteItems( array_keys( $addressItems ) );
81
-		$customerManager->deleteItems( array_keys( $customerItems ) );
80
+		$customerAddressManager->deleteItems(array_keys($addressItems));
81
+		$customerManager->deleteItems(array_keys($customerItems));
82 82
 	}
83 83
 }
Please login to merge, or discard this patch.
lib/custom/setup/unittest/CustomerListAddLaravelTestData.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 	 */
23 23
 	public function getPreDependencies()
24 24
 	{
25
-		return array( 'TablesCreateLaravel', 'CustomerAddLaravelTestData', 'LocaleAddTestData', 'TextAddTestData' );
25
+		return array('TablesCreateLaravel', 'CustomerAddLaravelTestData', 'LocaleAddTestData', 'TextAddTestData');
26 26
 	}
27 27
 
28 28
 
@@ -31,27 +31,27 @@  discard block
 block discarded – undo
31 31
 	 */
32 32
 	public function migrate()
33 33
 	{
34
-		\Aimeos\MW\Common\Base::checkClass( '\\Aimeos\\MShop\\Context\\Item\\Iface', $this->additional );
34
+		\Aimeos\MW\Common\Base::checkClass('\\Aimeos\\MShop\\Context\\Item\\Iface', $this->additional);
35 35
 
36
-		$this->msg( 'Adding customer-list Laravel test data', 0 );
37
-		$this->additional->setEditor( 'ai-laravel:unittest' );
36
+		$this->msg('Adding customer-list Laravel test data', 0);
37
+		$this->additional->setEditor('ai-laravel:unittest');
38 38
 
39 39
 		$ds = DIRECTORY_SEPARATOR;
40
-		$path = __DIR__ . $ds . 'data' . $ds . 'customer-list.php';
40
+		$path = __DIR__.$ds.'data'.$ds.'customer-list.php';
41 41
 
42
-		if( ( $testdata = include( $path ) ) == false ){
43
-			throw new \Aimeos\MShop\Exception( sprintf( 'No file "%1$s" found for customer list domain', $path ) );
42
+		if (($testdata = include($path)) == false) {
43
+			throw new \Aimeos\MShop\Exception(sprintf('No file "%1$s" found for customer list domain', $path));
44 44
 		}
45 45
 
46 46
 		$refKeys = [];
47
-		foreach( $testdata['customer/lists'] as $dataset ) {
48
-			$refKeys[ $dataset['domain'] ][] = $dataset['refid'];
47
+		foreach ($testdata['customer/lists'] as $dataset) {
48
+			$refKeys[$dataset['domain']][] = $dataset['refid'];
49 49
 		}
50 50
 
51 51
 		$refIds = [];
52
-		$refIds['text'] = $this->getTextData( $refKeys['text'] );
53
-		$this->addCustomerListData( $testdata, $refIds, 'Laravel' );
52
+		$refIds['text'] = $this->getTextData($refKeys['text']);
53
+		$this->addCustomerListData($testdata, $refIds, 'Laravel');
54 54
 
55
-		$this->status( 'done' );
55
+		$this->status('done');
56 56
 	}
57 57
 }
58 58
\ No newline at end of file
Please login to merge, or discard this patch.
lib/custom/setup/unittest/CustomerPropertyAddLaravelTestData.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 	 */
24 24
 	public function getPreDependencies()
25 25
 	{
26
-		return array( 'TablesCreateLaravel', 'CustomerAddLaravelTestData', 'LocaleAddTestData' );
26
+		return array('TablesCreateLaravel', 'CustomerAddLaravelTestData', 'LocaleAddTestData');
27 27
 	}
28 28
 
29 29
 
@@ -32,20 +32,20 @@  discard block
 block discarded – undo
32 32
 	 */
33 33
 	public function migrate()
34 34
 	{
35
-		\Aimeos\MW\Common\Base::checkClass( '\\Aimeos\\MShop\\Context\\Item\\Iface', $this->additional );
35
+		\Aimeos\MW\Common\Base::checkClass('\\Aimeos\\MShop\\Context\\Item\\Iface', $this->additional);
36 36
 
37
-		$this->msg( 'Adding customer-property Laravel test data', 0 );
38
-		$this->additional->setEditor( 'ai-laravel:unittest' );
37
+		$this->msg('Adding customer-property Laravel test data', 0);
38
+		$this->additional->setEditor('ai-laravel:unittest');
39 39
 
40 40
 		$ds = DIRECTORY_SEPARATOR;
41
-		$path = __DIR__ . $ds . 'data' . $ds . 'customer-property.php';
41
+		$path = __DIR__.$ds.'data'.$ds.'customer-property.php';
42 42
 
43
-		if( ( $testdata = include( $path ) ) == false ) {
44
-			throw new \Aimeos\MShop\Exception( sprintf( 'No file "%1$s" found for customer domain', $path ) );
43
+		if (($testdata = include($path)) == false) {
44
+			throw new \Aimeos\MShop\Exception(sprintf('No file "%1$s" found for customer domain', $path));
45 45
 		}
46 46
 
47
-		$this->addCustomerPropertyData( $testdata, 'Laravel' );
47
+		$this->addCustomerPropertyData($testdata, 'Laravel');
48 48
 
49
-		$this->status( 'done' );
49
+		$this->status('done');
50 50
 	}
51 51
 }
52 52
\ No newline at end of file
Please login to merge, or discard this patch.
lib/custom/src/MShop/Customer/Manager/Property/Laravel.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 		'customer.property.id' => array(
25 25
 			'code' => 'customer.property.id',
26 26
 			'internalcode' => 'lvupr."id"',
27
-			'internaldeps'=>array( 'LEFT JOIN "users_property" AS lvupr ON ( lvupr."parentid" = lvu."id" )' ),
27
+			'internaldeps'=>array('LEFT JOIN "users_property" AS lvupr ON ( lvupr."parentid" = lvu."id" )'),
28 28
 			'label' => 'Property ID',
29 29
 			'type' => 'integer',
30 30
 			'internaltype' => \Aimeos\MW\DB\Statement\Base::PARAM_INT,
@@ -100,14 +100,14 @@  discard block
 block discarded – undo
100 100
 	 *
101 101
 	 * @param integer[] $siteids List of IDs for sites whose entries should be deleted
102 102
 	 */
103
-	public function cleanup( array $siteids )
103
+	public function cleanup(array $siteids)
104 104
 	{
105 105
 		$path = 'mshop/customer/manager/property/submanagers';
106
-		foreach( $this->getContext()->getConfig()->get( $path, [] ) as $domain ) {
107
-			$this->getObject()->getSubManager( $domain )->cleanup( $siteids );
106
+		foreach ($this->getContext()->getConfig()->get($path, []) as $domain) {
107
+			$this->getObject()->getSubManager($domain)->cleanup($siteids);
108 108
 		}
109 109
 
110
-		$this->cleanupBase( $siteids, 'mshop/customer/manager/property/laravel/delete' );
110
+		$this->cleanupBase($siteids, 'mshop/customer/manager/property/laravel/delete');
111 111
 	}
112 112
 
113 113
 
@@ -117,11 +117,11 @@  discard block
 block discarded – undo
117 117
 	 * @param boolean $withsub Return also attributes of sub-managers if true
118 118
 	 * @return array Returns a list of attribtes implementing \Aimeos\MW\Criteria\Attribute\Iface
119 119
 	 */
120
-	public function getSearchAttributes( $withsub = true )
120
+	public function getSearchAttributes($withsub = true)
121 121
 	{
122 122
 		$path = 'mshop/customer/manager/property/submanagers';
123 123
 
124
-		return $this->getSearchAttributesBase( $this->searchConfig, $path, ['type'], $withsub );
124
+		return $this->getSearchAttributesBase($this->searchConfig, $path, ['type'], $withsub);
125 125
 	}
126 126
 
127 127
 
@@ -133,9 +133,9 @@  discard block
 block discarded – undo
133 133
 	 * configuration (or Default) if null
134 134
 	 * @return \Aimeos\MShop\Common\Manager\Iface Manager for different extensions, e.g property types, property lists etc.
135 135
 	 */
136
-	public function getSubManager( $manager, $name = null )
136
+	public function getSubManager($manager, $name = null)
137 137
 	{
138
-		return $this->getSubManagerBase( 'customer', 'property/' . $manager, ( $name === null ? 'Laravel' : $name ) );
138
+		return $this->getSubManagerBase('customer', 'property/'.$manager, ($name === null ? 'Laravel' : $name));
139 139
 	}
140 140
 
141 141
 
Please login to merge, or discard this patch.
lib/custom/setup/unittest/data/customer-list.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -5,19 +5,19 @@
 block discarded – undo
5 5
  * @copyright Aimeos (aimeos.org), 2014-2018
6 6
  */
7 7
 
8
-return array (
9
-	'customer/lists/type' => array (
10
-		'customer/group/default' => array( 'domain' => 'customer/group', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ),
11
-		'order/download' => array( 'domain' => 'order', 'code' => 'download', 'label' => 'Download', 'status' => 1 ),
12
-		'product/favorite' => array( 'domain' => 'product', 'code' => 'favorite', 'label' => 'Favorite', 'status' => 1 ),
13
-		'product/watch' => array( 'domain' => 'product', 'code' => 'watch', 'label' => 'Watch list', 'status' => 1 ),
14
-		'text/default' => array( 'domain' => 'text', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ),
8
+return array(
9
+	'customer/lists/type' => array(
10
+		'customer/group/default' => array('domain' => 'customer/group', 'code' => 'default', 'label' => 'Standard', 'status' => 1),
11
+		'order/download' => array('domain' => 'order', 'code' => 'download', 'label' => 'Download', 'status' => 1),
12
+		'product/favorite' => array('domain' => 'product', 'code' => 'favorite', 'label' => 'Favorite', 'status' => 1),
13
+		'product/watch' => array('domain' => 'product', 'code' => 'watch', 'label' => 'Watch list', 'status' => 1),
14
+		'text/default' => array('domain' => 'text', 'code' => 'default', 'label' => 'Standard', 'status' => 1),
15 15
 	),
16 16
 
17
-	'customer/lists' => array (
18
-		array( 'parentid' => 'customer/UTC003', 'typeid' => 'text/default', 'domain' => 'text', 'refid' => 'text/customer/information', 'start' => '2010-01-01 00:00:00', 'end' => '2100-01-01 00:00:00', 'config' => [], 'pos' => 1, 'status' => 1 ),
19
-		array( 'parentid' => 'customer/UTC003', 'typeid' => 'text/default', 'domain' => 'text', 'refid' => 'text/customer/notify', 'start' => '2010-01-01 00:00:00', 'end' => '2100-01-01 00:00:00', 'config' => [], 'pos' => 2, 'status' => 1 ),
20
-		array( 'parentid' => 'customer/UTC003', 'typeid' => 'text/default', 'domain' => 'text', 'refid' => 'text/customer/newsletter', 'start' => '2010-01-01 00:00:00', 'end' => '2100-01-01 00:00:00', 'config' => [], 'pos' => 3, 'status' => 1 ),
21
-		array( 'parentid' => 'customer/UTC001', 'typeid' => 'text/default', 'domain' => 'text', 'refid' => 'text/customer/information', 'start' => '2010-01-01 00:00:00', 'end' => '2100-01-01 00:00:00', 'config' => [], 'pos' => 1, 'status' => 1 ),
17
+	'customer/lists' => array(
18
+		array('parentid' => 'customer/UTC003', 'typeid' => 'text/default', 'domain' => 'text', 'refid' => 'text/customer/information', 'start' => '2010-01-01 00:00:00', 'end' => '2100-01-01 00:00:00', 'config' => [], 'pos' => 1, 'status' => 1),
19
+		array('parentid' => 'customer/UTC003', 'typeid' => 'text/default', 'domain' => 'text', 'refid' => 'text/customer/notify', 'start' => '2010-01-01 00:00:00', 'end' => '2100-01-01 00:00:00', 'config' => [], 'pos' => 2, 'status' => 1),
20
+		array('parentid' => 'customer/UTC003', 'typeid' => 'text/default', 'domain' => 'text', 'refid' => 'text/customer/newsletter', 'start' => '2010-01-01 00:00:00', 'end' => '2100-01-01 00:00:00', 'config' => [], 'pos' => 3, 'status' => 1),
21
+		array('parentid' => 'customer/UTC001', 'typeid' => 'text/default', 'domain' => 'text', 'refid' => 'text/customer/information', 'start' => '2010-01-01 00:00:00', 'end' => '2100-01-01 00:00:00', 'config' => [], 'pos' => 1, 'status' => 1),
22 22
 	),
23 23
 );
24 24
\ No newline at end of file
Please login to merge, or discard this patch.