Completed
Push — master ( 1fc904...dc433d )
by Aimeos
07:56
created
lib/mshoplib/src/MShop/Locale/Manager/Standard.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -684,7 +684,7 @@  discard block
 block discarded – undo
684 684
 	{
685 685
 		$stmt = $conn->create( $sql );
686 686
 
687
-		$this->getContext()->getLogger()->log( __METHOD__ . ': SQL statement: ' . $stmt, \Aimeos\MW\Logger\Base::DEBUG );
687
+		$this->getContext()->getLogger()->log( __METHOD__.': SQL statement: '.$stmt, \Aimeos\MW\Logger\Base::DEBUG );
688 688
 
689 689
 		return $stmt->execute();
690 690
 	}
@@ -719,7 +719,7 @@  discard block
 block discarded – undo
719 719
 			$replace = array(
720 720
 					$search->getConditionString( $types, $translations ),
721 721
 					$search->getSortationString( $types, $translations ),
722
-					( $columns ? ', ' . $columns : '' ),
722
+					( $columns ? ', '.$columns : '' ),
723 723
 					$search->getSliceStart(),
724 724
 					$search->getSliceSize(),
725 725
 			);
Please login to merge, or discard this patch.
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -139,9 +139,12 @@  discard block
 block discarded – undo
139 139
 	 */
140 140
 	public function createItem()
141 141
 	{
142
-		try {
142
+		try
143
+		{
143 144
 			return $this->createItemBase( array( 'locale.siteid' => $this->getContext()->getLocale()->getSiteId() ) );
144
-		} catch( \Exception $e ) {
145
+		}
146
+		catch( \Exception $e )
147
+		{
145 148
 			return $this->createItemBase();
146 149
 		}
147 150
 	}
@@ -313,8 +316,7 @@  discard block
 block discarded – undo
313 316
 				 * @see mshop/locale/manager/standard/count/ansi
314 317
 				 */
315 318
 				$path = 'mshop/locale/manager/standard/insert';
316
-			}
317
-			else
319
+			} else
318 320
 			{
319 321
 				/** mshop/locale/manager/standard/update/mysql
320 322
 				 * Updates an existing locale record in the database
Please login to merge, or discard this patch.
lib/mshoplib/setup/default/schema/catalog.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
 return array(
10 10
 	'table' => array(
11 11
 
12
-		'mshop_catalog' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
12
+		'mshop_catalog' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
13 13
 
14 14
 			$table = $schema->createTable( 'mshop_catalog' );
15 15
 
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 			return $schema;
36 36
 		},
37 37
 
38
-		'mshop_catalog_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
38
+		'mshop_catalog_list_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
39 39
 
40 40
 			$table = $schema->createTable( 'mshop_catalog_list_type' );
41 41
 
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
 			return $schema;
59 59
 		},
60 60
 
61
-		'mshop_catalog_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
61
+		'mshop_catalog_list' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
62 62
 
63 63
 			$table = $schema->createTable( 'mshop_catalog_list' );
64 64
 
Please login to merge, or discard this patch.
Braces   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,8 @@  discard block
 block discarded – undo
9 9
 return array(
10 10
 	'table' => array(
11 11
 
12
-		'mshop_catalog' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
12
+		'mshop_catalog' => function ( \Doctrine\DBAL\Schema\Schema $schema )
13
+		{
13 14
 
14 15
 			$table = $schema->createTable( 'mshop_catalog' );
15 16
 
@@ -35,7 +36,8 @@  discard block
 block discarded – undo
35 36
 			return $schema;
36 37
 		},
37 38
 
38
-		'mshop_catalog_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
39
+		'mshop_catalog_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema )
40
+		{
39 41
 
40 42
 			$table = $schema->createTable( 'mshop_catalog_list_type' );
41 43
 
@@ -58,7 +60,8 @@  discard block
 block discarded – undo
58 60
 			return $schema;
59 61
 		},
60 62
 
61
-		'mshop_catalog_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
63
+		'mshop_catalog_list' => function ( \Doctrine\DBAL\Schema\Schema $schema )
64
+		{
62 65
 
63 66
 			$table = $schema->createTable( 'mshop_catalog_list' );
64 67
 
Please login to merge, or discard this patch.
lib/mshoplib/setup/default/schema/attribute.php 2 patches
Braces   +8 added lines, -4 removed lines patch added patch discarded remove patch
@@ -8,7 +8,8 @@  discard block
 block discarded – undo
8 8
 
9 9
 return array(
10 10
 	'table' => array(
11
-		'mshop_attribute_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
11
+		'mshop_attribute_type' => function ( \Doctrine\DBAL\Schema\Schema $schema )
12
+		{
12 13
 
13 14
 			$table = $schema->createTable( 'mshop_attribute_type' );
14 15
 
@@ -31,7 +32,8 @@  discard block
 block discarded – undo
31 32
 			return $schema;
32 33
 		},
33 34
 
34
-		'mshop_attribute' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
35
+		'mshop_attribute' => function ( \Doctrine\DBAL\Schema\Schema $schema )
36
+		{
35 37
 
36 38
 			$table = $schema->createTable( 'mshop_attribute' );
37 39
 
@@ -59,7 +61,8 @@  discard block
 block discarded – undo
59 61
 			return $schema;
60 62
 		},
61 63
 
62
-		'mshop_attribute_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
64
+		'mshop_attribute_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema )
65
+		{
63 66
 
64 67
 			$table = $schema->createTable( 'mshop_attribute_list_type' );
65 68
 
@@ -82,7 +85,8 @@  discard block
 block discarded – undo
82 85
 			return $schema;
83 86
 		},
84 87
 
85
-		'mshop_attribute_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
88
+		'mshop_attribute_list' => function ( \Doctrine\DBAL\Schema\Schema $schema )
89
+		{
86 90
 
87 91
 			$table = $schema->createTable( 'mshop_attribute_list' );
88 92
 
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 
9 9
 return array(
10 10
 	'table' => array(
11
-		'mshop_attribute_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
11
+		'mshop_attribute_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
12 12
 
13 13
 			$table = $schema->createTable( 'mshop_attribute_type' );
14 14
 
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 			return $schema;
32 32
 		},
33 33
 
34
-		'mshop_attribute' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
34
+		'mshop_attribute' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
35 35
 
36 36
 			$table = $schema->createTable( 'mshop_attribute' );
37 37
 
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 			$table->addColumn( 'status', 'smallint', [] );
46 46
 			$table->addColumn( 'mtime', 'datetime', [] );
47 47
 			$table->addColumn( 'ctime', 'datetime', [] );
48
-			$table->addColumn( 'editor', 'string', array('length' => 255 ) );
48
+			$table->addColumn( 'editor', 'string', array( 'length' => 255 ) );
49 49
 
50 50
 			$table->setPrimaryKey( array( 'id' ), 'pk_msatt_id' );
51 51
 			$table->addUniqueIndex( array( 'siteid', 'domain', 'code', 'typeid' ), 'unq_msattr_sid_dom_cod_tid' );
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 			return $schema;
60 60
 		},
61 61
 
62
-		'mshop_attribute_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
62
+		'mshop_attribute_list_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
63 63
 
64 64
 			$table = $schema->createTable( 'mshop_attribute_list_type' );
65 65
 
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 			return $schema;
83 83
 		},
84 84
 
85
-		'mshop_attribute_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
85
+		'mshop_attribute_list' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
86 86
 
87 87
 			$table = $schema->createTable( 'mshop_attribute_list' );
88 88
 
Please login to merge, or discard this patch.
lib/mshoplib/setup/default/schema/log.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 
9 9
 return array(
10 10
 	'table' => array(
11
-		'madmin_log' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
11
+		'madmin_log' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
12 12
 
13 13
 			$table = $schema->createTable( 'madmin_log' );
14 14
 
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,8 @@
 block discarded – undo
8 8
 
9 9
 return array(
10 10
 	'table' => array(
11
-		'madmin_log' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
11
+		'madmin_log' => function ( \Doctrine\DBAL\Schema\Schema $schema )
12
+		{
12 13
 
13 14
 			$table = $schema->createTable( 'madmin_log' );
14 15
 
Please login to merge, or discard this patch.
lib/mshoplib/setup/default/schema/price.php 2 patches
Braces   +8 added lines, -4 removed lines patch added patch discarded remove patch
@@ -8,7 +8,8 @@  discard block
 block discarded – undo
8 8
 
9 9
 return array(
10 10
 	'table' => array(
11
-		'mshop_price_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
11
+		'mshop_price_type' => function ( \Doctrine\DBAL\Schema\Schema $schema )
12
+		{
12 13
 
13 14
 			$table = $schema->createTable( 'mshop_price_type' );
14 15
 
@@ -31,7 +32,8 @@  discard block
 block discarded – undo
31 32
 			return $schema;
32 33
 		},
33 34
 
34
-		'mshop_price' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
35
+		'mshop_price' => function ( \Doctrine\DBAL\Schema\Schema $schema )
36
+		{
35 37
 
36 38
 			$table = $schema->createTable( 'mshop_price' );
37 39
 
@@ -67,7 +69,8 @@  discard block
 block discarded – undo
67 69
 			return $schema;
68 70
 		},
69 71
 
70
-		'mshop_price_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
72
+		'mshop_price_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema )
73
+		{
71 74
 
72 75
 			$table = $schema->createTable( 'mshop_price_list_type' );
73 76
 
@@ -90,7 +93,8 @@  discard block
 block discarded – undo
90 93
 			return $schema;
91 94
 		},
92 95
 
93
-		'mshop_price_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
96
+		'mshop_price_list' => function ( \Doctrine\DBAL\Schema\Schema $schema )
97
+		{
94 98
 
95 99
 			$table = $schema->createTable( 'mshop_price_list' );
96 100
 
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 
9 9
 return array(
10 10
 	'table' => array(
11
-		'mshop_price_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
11
+		'mshop_price_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
12 12
 
13 13
 			$table = $schema->createTable( 'mshop_price_type' );
14 14
 
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 			return $schema;
32 32
 		},
33 33
 
34
-		'mshop_price' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
34
+		'mshop_price' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
35 35
 
36 36
 			$table = $schema->createTable( 'mshop_price' );
37 37
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
 			$table->addColumn( 'status', 'smallint', [] );
50 50
 			$table->addColumn( 'mtime', 'datetime', [] );
51 51
 			$table->addColumn( 'ctime', 'datetime', [] );
52
-			$table->addColumn( 'editor', 'string', array('length' => 255 ) );
52
+			$table->addColumn( 'editor', 'string', array( 'length' => 255 ) );
53 53
 
54 54
 			$table->setPrimaryKey( array( 'id' ), 'pk_mspri_id' );
55 55
 			$table->addIndex( array( 'siteid', 'domain', 'currencyid' ), 'idx_mspri_sid_dom_currid' );
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 			return $schema;
67 67
 		},
68 68
 
69
-		'mshop_price_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
69
+		'mshop_price_list_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
70 70
 
71 71
 			$table = $schema->createTable( 'mshop_price_list_type' );
72 72
 
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 			return $schema;
90 90
 		},
91 91
 
92
-		'mshop_price_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
92
+		'mshop_price_list' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
93 93
 
94 94
 			$table = $schema->createTable( 'mshop_price_list' );
95 95
 
Please login to merge, or discard this patch.
lib/mshoplib/setup/default/schema/service.php 2 patches
Braces   +8 added lines, -4 removed lines patch added patch discarded remove patch
@@ -8,7 +8,8 @@  discard block
 block discarded – undo
8 8
 
9 9
 return array(
10 10
 	'table' => array(
11
-		'mshop_service_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
11
+		'mshop_service_type' => function ( \Doctrine\DBAL\Schema\Schema $schema )
12
+		{
12 13
 
13 14
 			$table = $schema->createTable( 'mshop_service_type' );
14 15
 
@@ -31,7 +32,8 @@  discard block
 block discarded – undo
31 32
 			return $schema;
32 33
 		},
33 34
 
34
-		'mshop_service' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
35
+		'mshop_service' => function ( \Doctrine\DBAL\Schema\Schema $schema )
36
+		{
35 37
 
36 38
 			$table = $schema->createTable( 'mshop_service' );
37 39
 
@@ -62,7 +64,8 @@  discard block
 block discarded – undo
62 64
 			return $schema;
63 65
 		},
64 66
 
65
-		'mshop_service_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
67
+		'mshop_service_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema )
68
+		{
66 69
 
67 70
 			$table = $schema->createTable( 'mshop_service_list_type' );
68 71
 
@@ -85,7 +88,8 @@  discard block
 block discarded – undo
85 88
 			return $schema;
86 89
 		},
87 90
 
88
-		'mshop_service_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
91
+		'mshop_service_list' => function ( \Doctrine\DBAL\Schema\Schema $schema )
92
+		{
89 93
 
90 94
 			$table = $schema->createTable( 'mshop_service_list' );
91 95
 
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 
9 9
 return array(
10 10
 	'table' => array(
11
-		'mshop_service_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
11
+		'mshop_service_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
12 12
 
13 13
 			$table = $schema->createTable( 'mshop_service_type' );
14 14
 
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 			return $schema;
32 32
 		},
33 33
 
34
-		'mshop_service' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
34
+		'mshop_service' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
35 35
 
36 36
 			$table = $schema->createTable( 'mshop_service' );
37 37
 
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 			$table->addColumn( 'status', 'smallint', [] );
47 47
 			$table->addColumn( 'mtime', 'datetime', [] );
48 48
 			$table->addColumn( 'ctime', 'datetime', [] );
49
-			$table->addColumn( 'editor', 'string', array('length' => 255 ) );
49
+			$table->addColumn( 'editor', 'string', array( 'length' => 255 ) );
50 50
 
51 51
 			$table->setPrimaryKey( array( 'id' ), 'pk_msser_id' );
52 52
 			$table->addUniqueIndex( array( 'siteid', 'code' ), 'unq_msser_siteid_code' );
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
 			return $schema;
64 64
 		},
65 65
 
66
-		'mshop_service_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
66
+		'mshop_service_list_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
67 67
 
68 68
 			$table = $schema->createTable( 'mshop_service_list_type' );
69 69
 
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
 			return $schema;
87 87
 		},
88 88
 
89
-		'mshop_service_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
89
+		'mshop_service_list' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
90 90
 
91 91
 			$table = $schema->createTable( 'mshop_service_list' );
92 92
 
Please login to merge, or discard this patch.
lib/mshoplib/setup/default/schema/tag.php 2 patches
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,8 @@  discard block
 block discarded – undo
8 8
 
9 9
 return array(
10 10
 	'table' => array(
11
-		'mshop_tag_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
11
+		'mshop_tag_type' => function ( \Doctrine\DBAL\Schema\Schema $schema )
12
+		{
12 13
 
13 14
 			$table = $schema->createTable( 'mshop_tag_type' );
14 15
 
@@ -31,7 +32,8 @@  discard block
 block discarded – undo
31 32
 			return $schema;
32 33
 		},
33 34
 
34
-		'mshop_tag' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
35
+		'mshop_tag' => function ( \Doctrine\DBAL\Schema\Schema $schema )
36
+		{
35 37
 
36 38
 			$table = $schema->createTable( 'mshop_tag' );
37 39
 
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 
9 9
 return array(
10 10
 	'table' => array(
11
-		'mshop_tag_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
11
+		'mshop_tag_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
12 12
 
13 13
 			$table = $schema->createTable( 'mshop_tag_type' );
14 14
 
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 			return $schema;
32 32
 		},
33 33
 
34
-		'mshop_tag' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
34
+		'mshop_tag' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
35 35
 
36 36
 			$table = $schema->createTable( 'mshop_tag' );
37 37
 
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 			$table->addColumn( 'label', 'string', array( 'length' => 255 ) );
44 44
 			$table->addColumn( 'mtime', 'datetime', [] );
45 45
 			$table->addColumn( 'ctime', 'datetime', [] );
46
-			$table->addColumn( 'editor', 'string', array('length' => 255 ) );
46
+			$table->addColumn( 'editor', 'string', array( 'length' => 255 ) );
47 47
 
48 48
 			$table->setPrimaryKey( array( 'id' ), 'pk_mstag_id' );
49 49
 			$table->addUniqueIndex( array( 'siteid', 'domain', 'typeid', 'langid', 'label' ), 'unq_mstag_sid_dom_tid_lid_lab' );
Please login to merge, or discard this patch.
lib/mshoplib/setup/default/schema/plugin.php 2 patches
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,8 @@  discard block
 block discarded – undo
8 8
 
9 9
 return array(
10 10
 	'table' => array(
11
-		'mshop_plugin_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
11
+		'mshop_plugin_type' => function ( \Doctrine\DBAL\Schema\Schema $schema )
12
+		{
12 13
 
13 14
 			$table = $schema->createTable( 'mshop_plugin_type' );
14 15
 
@@ -31,7 +32,8 @@  discard block
 block discarded – undo
31 32
 			return $schema;
32 33
 		},
33 34
 
34
-		'mshop_plugin' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
35
+		'mshop_plugin' => function ( \Doctrine\DBAL\Schema\Schema $schema )
36
+		{
35 37
 
36 38
 			$table = $schema->createTable( 'mshop_plugin' );
37 39
 
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 
9 9
 return array(
10 10
 	'table' => array(
11
-		'mshop_plugin_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
11
+		'mshop_plugin_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
12 12
 
13 13
 			$table = $schema->createTable( 'mshop_plugin_type' );
14 14
 
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 			return $schema;
32 32
 		},
33 33
 
34
-		'mshop_plugin' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
34
+		'mshop_plugin' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
35 35
 
36 36
 			$table = $schema->createTable( 'mshop_plugin' );
37 37
 
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 			$table->addColumn( 'status', 'smallint', [] );
46 46
 			$table->addColumn( 'mtime', 'datetime', [] );
47 47
 			$table->addColumn( 'ctime', 'datetime', [] );
48
-			$table->addColumn( 'editor', 'string', array('length' => 255 ) );
48
+			$table->addColumn( 'editor', 'string', array( 'length' => 255 ) );
49 49
 
50 50
 			$table->setPrimaryKey( array( 'id' ), 'pk_msplu_id' );
51 51
 			$table->addUniqueIndex( array( 'siteid', 'typeid', 'provider' ), 'unq_msplu_sid_tid_prov' );
Please login to merge, or discard this patch.
lib/mshoplib/setup/default/schema/media.php 2 patches
Braces   +8 added lines, -4 removed lines patch added patch discarded remove patch
@@ -8,7 +8,8 @@  discard block
 block discarded – undo
8 8
 
9 9
 return array(
10 10
 	'table' => array(
11
-		'mshop_media_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
11
+		'mshop_media_type' => function ( \Doctrine\DBAL\Schema\Schema $schema )
12
+		{
12 13
 
13 14
 			$table = $schema->createTable( 'mshop_media_type' );
14 15
 
@@ -31,7 +32,8 @@  discard block
 block discarded – undo
31 32
 			return $schema;
32 33
 		},
33 34
 
34
-		'mshop_media' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
35
+		'mshop_media' => function ( \Doctrine\DBAL\Schema\Schema $schema )
36
+		{
35 37
 
36 38
 			$table = $schema->createTable( 'mshop_media' );
37 39
 
@@ -63,7 +65,8 @@  discard block
 block discarded – undo
63 65
 			return $schema;
64 66
 		},
65 67
 
66
-		'mshop_media_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
68
+		'mshop_media_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema )
69
+		{
67 70
 
68 71
 			$table = $schema->createTable( 'mshop_media_list_type' );
69 72
 
@@ -86,7 +89,8 @@  discard block
 block discarded – undo
86 89
 			return $schema;
87 90
 		},
88 91
 
89
-		'mshop_media_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
92
+		'mshop_media_list' => function ( \Doctrine\DBAL\Schema\Schema $schema )
93
+		{
90 94
 
91 95
 			$table = $schema->createTable( 'mshop_media_list' );
92 96
 
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 
9 9
 return array(
10 10
 	'table' => array(
11
-		'mshop_media_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
11
+		'mshop_media_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
12 12
 
13 13
 			$table = $schema->createTable( 'mshop_media_type' );
14 14
 
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 			return $schema;
32 32
 		},
33 33
 
34
-		'mshop_media' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
34
+		'mshop_media' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
35 35
 
36 36
 			$table = $schema->createTable( 'mshop_media' );
37 37
 
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
 			$table->addColumn( 'status', 'smallint', [] );
48 48
 			$table->addColumn( 'mtime', 'datetime', [] );
49 49
 			$table->addColumn( 'ctime', 'datetime', [] );
50
-			$table->addColumn( 'editor', 'string', array('length' => 255 ) );
50
+			$table->addColumn( 'editor', 'string', array( 'length' => 255 ) );
51 51
 
52 52
 			$table->setPrimaryKey( array( 'id' ), 'pk_msmed_id' );
53 53
 			$table->addIndex( array( 'siteid', 'domain', 'langid' ), 'idx_msmed_sid_dom_langid' );
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
 			return $schema;
63 63
 		},
64 64
 
65
-		'mshop_media_list_type' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
65
+		'mshop_media_list_type' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
66 66
 
67 67
 			$table = $schema->createTable( 'mshop_media_list_type' );
68 68
 
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 			return $schema;
86 86
 		},
87 87
 
88
-		'mshop_media_list' => function ( \Doctrine\DBAL\Schema\Schema $schema ) {
88
+		'mshop_media_list' => function( \Doctrine\DBAL\Schema\Schema $schema ) {
89 89
 
90 90
 			$table = $schema->createTable( 'mshop_media_list' );
91 91
 
Please login to merge, or discard this patch.