Passed
Push — master ( d61b94...8cbf55 )
by Aimeos
04:42
created
lib/mshoplib/setup/TablesMigrateSiteid.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
 					{
139 139
 						$db->stmt()->update( $table )->set( $colname, '?' )
140 140
 							->where( $colname . ' = ?' )->orWhere( $colname . " = ''" )
141
-							->setParameters( [$site, $siteid ] )
141
+							->setParameters( [$site, $siteid] )
142 142
 							->execute();
143 143
 					}
144 144
 				}
Please login to merge, or discard this patch.
lib/mshoplib/setup/default/schema/order.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
158 158
 			$table->string( 'name' );
159 159
 			$table->string( 'mediaurl' );
160 160
 			$table->string( 'currencyid', 3 );
161
-			$table->decimal( 'price', 12)->null( true );
161
+			$table->decimal( 'price', 12 )->null( true );
162 162
 			$table->decimal( 'costs', 12 );
163 163
 			$table->decimal( 'rebate', 12 );
164 164
 			$table->decimal( 'tax', 14, 4 );
Please login to merge, or discard this patch.
lib/mshoplib/setup/default/DemoAddProductData.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@
 block discarded – undo
165 165
 					$manager = \Aimeos\MShop::create( $context, 'attribute' );
166 166
 					$refItem = $manager->find( $refItem->getCode(), [], $domain, $refItem->getType() );
167 167
 				}
168
-				catch( \RuntimeException $e ) { ; } // attribute doesn't exist yet
168
+				catch( \RuntimeException $e ) {; } // attribute doesn't exist yet
169 169
 
170 170
 				$refItem = $this->addRefItems( $refItem, $data );
171 171
 				$item->addListItem( 'attribute', $listItem, $refItem );
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,7 +165,9 @@
 block discarded – undo
165 165
 					$manager = \Aimeos\MShop::create( $context, 'attribute' );
166 166
 					$refItem = $manager->find( $refItem->getCode(), [], $domain, $refItem->getType() );
167 167
 				}
168
-				catch( \RuntimeException $e ) { ; } // attribute doesn't exist yet
168
+				catch( \RuntimeException $e )
169
+				{
170
+; } // attribute doesn't exist yet
169 171
 
170 172
 				$refItem = $this->addRefItems( $refItem, $data );
171 173
 				$item->addListItem( 'attribute', $listItem, $refItem );
Please login to merge, or discard this patch.