Completed
Push — master ( 52c730...9eba1c )
by Aimeos
08:52
created
lib/mshoplib/setup/JobTableConvertToInnoDB.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,8 +70,7 @@
 block discarded – undo
70 70
 		{
71 71
 			$this->execute( $stmts['convert'] );
72 72
 			$this->status( 'converted' );
73
-		}
74
-		else
73
+		} else
75 74
 		{
76 75
 			$this->status( 'OK' );
77 76
 		}
Please login to merge, or discard this patch.
lib/mshoplib/setup/ListsAddStatus.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -109,8 +109,7 @@
 block discarded – undo
109 109
 			{
110 110
 				$this->executeList( $stmtList );
111 111
 				$this->status( 'added' );
112
-			}
113
-			else
112
+			} else
114 113
 			{
115 114
 				$this->status( 'OK' );
116 115
 			}
Please login to merge, or discard this patch.
lib/mshoplib/setup/LocaleChangeSitesToTree.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -87,8 +87,7 @@  discard block
 block discarded – undo
87 87
 				$migrate = true;
88 88
 				$this->execute( $stmt );
89 89
 				$this->status( 'added' );
90
-			}
91
-			else
90
+			} else
92 91
 			{
93 92
 				$this->status( 'OK' );
94 93
 			}
@@ -131,8 +130,7 @@  discard block
 block discarded – undo
131 130
 				$stmt->execute()->finish();
132 131
 
133 132
 				$this->status( 'done' );
134
-			}
135
-			else
133
+			} else
136 134
 			{
137 135
 				$this->status( 'OK' );
138 136
 			}
Please login to merge, or discard this patch.
lib/mshoplib/setup/MShopAddPluginData.php 2 patches
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,10 +115,14 @@
 block discarded – undo
115 115
 				$item->setPosition( $dataset['position'] );
116 116
 			}
117 117
 
118
-			try {
118
+			try
119
+			{
119 120
 				$pluginManager->saveItem( $item );
120 121
 				$num++;
121
-			} catch( \Exception $e ) {; } // if plugin configuration was already available
122
+			}
123
+			catch( \Exception $e )
124
+			{
125
+; } // if plugin configuration was already available
122 126
 		}
123 127
 
124 128
 		$this->status( $num > 0 ? $num . '/' . $total : 'OK' );
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
 		$pluginManager = \Aimeos\MShop\Plugin\Manager\Factory::createManager( $this->additional, 'Standard' );
65 65
 
66 66
 
67
-		$filename = __DIR__ . $ds . 'default' . $ds . 'data' . $ds . 'plugin.php';
67
+		$filename = __DIR__.$ds.'default'.$ds.'data'.$ds.'plugin.php';
68 68
 
69 69
 		if( ( $data = include( $filename ) ) == false ) {
70 70
 			throw new \Aimeos\MW\Setup\Exception( sprintf( 'No data file "%1$s" found', $filename ) );
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 		$manager = $pluginManager->getSubManager( 'type' );
91 91
 
92 92
 		foreach( $manager->searchItems( $manager->createSearch() ) as $item ) {
93
-			$types['plugin/' . $item->getCode()] = $item;
93
+			$types['plugin/'.$item->getCode()] = $item;
94 94
 		}
95 95
 
96 96
 		$num = $total = 0;
@@ -121,6 +121,6 @@  discard block
 block discarded – undo
121 121
 			} catch( \Exception $e ) {; } // if plugin configuration was already available
122 122
 		}
123 123
 
124
-		$this->status( $num > 0 ? $num . '/' . $total : 'OK' );
124
+		$this->status( $num > 0 ? $num.'/'.$total : 'OK' );
125 125
 	}
126 126
 }
127 127
\ No newline at end of file
Please login to merge, or discard this patch.
lib/mshoplib/setup/OrderAddressMigrateSalutation.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,8 +81,7 @@
 block discarded – undo
81 81
 			} else {
82 82
 				$this->status( 'OK' );
83 83
 			}
84
-		}
85
-		else
84
+		} else
86 85
 		{
87 86
 			$this->status( 'OK' );
88 87
 		}
Please login to merge, or discard this patch.
lib/mshoplib/setup/PluginMigrateCompleteToBasketLimits.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,8 +80,7 @@
 block discarded – undo
80 80
 				{
81 81
 					$this->execute( $list['update'] );
82 82
 					$this->status( 'migrated' );
83
-				}
84
-				else
83
+				} else
85 84
 				{
86 85
 					$this->status( 'OK' );
87 86
 				}
Please login to merge, or discard this patch.
lib/mshoplib/setup/ProductWarehouseRenameTable.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,8 +67,7 @@
 block discarded – undo
67 67
 		{
68 68
 			$this->executeList( $stmts );
69 69
 			$this->status( 'renamed' );
70
-		}
71
-		else
70
+		} else
72 71
 		{
73 72
 			$this->status( 'OK' );
74 73
 		}
Please login to merge, or discard this patch.
lib/mshoplib/setup/TablesAddLogColumns.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -779,8 +779,7 @@
 block discarded – undo
779 779
 					{
780 780
 						$this->executeList( $stmtList );
781 781
 						$this->status( 'added' );
782
-					}
783
-					else
782
+					} else
784 783
 					{
785 784
 						$this->status( 'OK' );
786 785
 					}
Please login to merge, or discard this patch.
lib/mshoplib/setup/TagMoveProductTag.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,8 +80,7 @@
 block discarded – undo
80 80
 			{
81 81
 				$this->executeList( $stmts );
82 82
 				$this->status( 'done' );
83
-			}
84
-			else
83
+			} else
85 84
 			{
86 85
 				$this->status( 'OK' );
87 86
 			}
Please login to merge, or discard this patch.