Passed
Push — master ( 606203...8b78ae )
by Aimeos
29:34 queued 23:56
created
src/MShop/Locale/Manager/Standard.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@
 block discarded – undo
207 207
 	{
208 208
 		$items = [];
209 209
 		$level = \Aimeos\MShop\Locale\Manager\Base::SITE_PATH;
210
-		$search = (clone $search)->add( $this->siteCondition( 'locale.siteid', $level ) );
210
+		$search = ( clone $search )->add( $this->siteCondition( 'locale.siteid', $level ) );
211 211
 
212 212
 		foreach( $this->searchEntries( $search, $ref, $total ) as $row )
213 213
 		{
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -338,8 +338,7 @@
 block discarded – undo
338 338
 				 */
339 339
 				$path = 'mshop/locale/manager/insert';
340 340
 				$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
341
-			}
342
-			else
341
+			} else
343 342
 			{
344 343
 				/** mshop/locale/manager/update/mysql
345 344
 				 * Updates an existing locale record in the database
Please login to merge, or discard this patch.
src/MShop/Attribute/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -373,8 +373,7 @@
 block discarded – undo
373 373
 				 */
374 374
 				$path = 'mshop/attribute/manager/insert';
375 375
 				$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
376
-			}
377
-			else
376
+			} else
378 377
 			{
379 378
 				/** mshop/attribute/manager/update/mysql
380 379
 				 * Updates an existing attribute record in the database
Please login to merge, or discard this patch.
src/MShop/Coupon/Manager/Code/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -421,8 +421,7 @@
 block discarded – undo
421 421
 				 */
422 422
 				$path = 'mshop/coupon/manager/code/insert';
423 423
 				$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
424
-			}
425
-			else
424
+			} else
426 425
 			{
427 426
 				/** mshop/coupon/manager/code/update/mysql
428 427
 				 * Updates an existing coupon code record in the database
Please login to merge, or discard this patch.
src/MShop/Coupon/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -279,8 +279,7 @@
 block discarded – undo
279 279
 				 */
280 280
 				$path = 'mshop/coupon/manager/insert';
281 281
 				$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
282
-			}
283
-			else
282
+			} else
284 283
 			{
285 284
 				/** mshop/coupon/manager/update/mysql
286 285
 				 * Updates an existing coupon record in the database
Please login to merge, or discard this patch.
src/MShop/Product/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -598,8 +598,7 @@
 block discarded – undo
598 598
 				 */
599 599
 				$path = 'mshop/product/manager/insert';
600 600
 				$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
601
-			}
602
-			else
601
+			} else
603 602
 			{
604 603
 				/** mshop/product/manager/update/mysql
605 604
 				 * Updates an existing product record in the database
Please login to merge, or discard this patch.
src/MShop/Plugin/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -349,8 +349,7 @@
 block discarded – undo
349 349
 				 */
350 350
 				$path = 'mshop/plugin/manager/insert';
351 351
 				$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
352
-			}
353
-			else
352
+			} else
354 353
 			{
355 354
 				/** mshop/plugin/manager/update/mysql
356 355
 				 * Updates an existing plugin record in the database
Please login to merge, or discard this patch.
src/MShop/Plugin/Provider/Order/ProductFreeOptions.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -59,8 +59,7 @@  discard block
 block discarded – undo
59 59
 			foreach( $value as $key => $product ) {
60 60
 				$value[$key] = $this->updatePrice( $product );
61 61
 			}
62
-		}
63
-		else
62
+		} else
64 63
 		{
65 64
 			$value = $this->updatePrice( $value );
66 65
 		}
@@ -139,8 +138,7 @@  discard block
 block discarded – undo
139 138
 	{
140 139
 		$priceManager = \Aimeos\MShop::create( $this->context(), 'price' );
141 140
 
142
-		$sortFcn = function( $a, $b ) use( $priceManager, $attrQtys )
143
-		{
141
+		$sortFcn = function( $a, $b ) use( $priceManager, $attrQtys ) {
144 142
 			if( ( $pricesA = $a->getRefItems( 'price', 'default', 'default' )->toArray() ) === [] ) {
145 143
 				return 1;
146 144
 			}
@@ -203,8 +201,7 @@  discard block
 block discarded – undo
203 201
 			{
204 202
 				$list = $this->sortByPrice( $list, $attrQtys );
205 203
 				$priceItem = $this->addPrices( $priceItem, $list, $attrQtys, (int) $prodConf[$type] );
206
-			}
207
-			else
204
+			} else
208 205
 			{
209 206
 				$priceItem = $this->addPrices( $priceItem, $list, $attrQtys, 0 );
210 207
 			}
Please login to merge, or discard this patch.
src/MShop/Order/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -420,8 +420,7 @@
 block discarded – undo
420 420
 				 */
421 421
 				$path = 'mshop/order/manager/insert';
422 422
 				$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
423
-			}
424
-			else
423
+			} else
425 424
 			{
426 425
 				/** mshop/order/manager/update/mysql
427 426
 				 * Updates an existing order record in the database
Please login to merge, or discard this patch.
src/MShop/Order/Manager/Base/Service/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -628,8 +628,7 @@
 block discarded – undo
628 628
 				 */
629 629
 				$path = 'mshop/order/manager/base/service/insert';
630 630
 				$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
631
-			}
632
-			else
631
+			} else
633 632
 			{
634 633
 				/** mshop/order/manager/base/service/update/mysql
635 634
 				 * Updates an existing order record in the database
Please login to merge, or discard this patch.