Passed
Push — master ( e7141a...ab4b6a )
by Aimeos
04:16
created
src/MShop/Coupon/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -385,8 +385,7 @@
 block discarded – undo
385 385
 			 */
386 386
 			$path = 'mshop/coupon/manager/insert';
387 387
 			$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
388
-		}
389
-		else
388
+		} else
390 389
 		{
391 390
 			/** mshop/coupon/manager/update/mysql
392 391
 			 * Updates an existing coupon record in the database
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
@@ -519,8 +519,7 @@
 block discarded – undo
519 519
 			 */
520 520
 			$path = 'mshop/order/manager/insert';
521 521
 			$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
522
-		}
523
-		else
522
+		} else
524 523
 		{
525 524
 			/** mshop/order/manager/update/mysql
526 525
 			 * Updates an existing order 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
@@ -478,8 +478,7 @@
 block discarded – undo
478 478
 			 */
479 479
 			$path = 'mshop/attribute/manager/insert';
480 480
 			$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
481
-		}
482
-		else
481
+		} else
483 482
 		{
484 483
 			/** mshop/attribute/manager/update/mysql
485 484
 			 * Updates an existing attribute record in the database
Please login to merge, or discard this patch.
src/MShop/Catalog/Manager/Standard.php 1 patch
Braces   +13 added lines, -10 removed lines patch added patch discarded remove patch
@@ -799,9 +799,12 @@  discard block
 block discarded – undo
799 799
 
800 800
 		foreach( $sitePath as $siteId )
801 801
 		{
802
-			try {
802
+			try
803
+			{
803 804
 				$path = $this->createTreeManager( $siteId )->getPath( $id );
804
-			} catch( \Exception $e ) {
805
+			}
806
+			catch( \Exception $e )
807
+			{
805 808
 				continue;
806 809
 			}
807 810
 
@@ -845,9 +848,12 @@  discard block
 block discarded – undo
845 848
 
846 849
 		foreach( $sitePath as $siteId )
847 850
 		{
848
-			try {
851
+			try
852
+			{
849 853
 				$node = $this->createTreeManager( $siteId )->getNode( $id, $level, $criteria );
850
-			} catch( \Aimeos\MW\Tree\Exception $e ) {
854
+			}
855
+			catch( \Aimeos\MW\Tree\Exception $e )
856
+			{
851 857
 				continue;
852 858
 			}
853 859
 
@@ -929,8 +935,7 @@  discard block
 block discarded – undo
929 935
 				if( $child->getParentId() !== $item->getParentId() ) {
930 936
 					$this->move( $child->getId(), $item->getParentId(), $child->getParentId() );
931 937
 				}
932
-			}
933
-			else
938
+			} else
934 939
 			{
935 940
 				$this->insert( $child, $item->getId() );
936 941
 			}
@@ -1076,8 +1081,7 @@  discard block
 block discarded – undo
1076 1081
 			 */
1077 1082
 			$path = 'mshop/catalog/manager/update-usage';
1078 1083
 			$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ), false );
1079
-		}
1080
-		else
1084
+		} else
1081 1085
 		{
1082 1086
 			/** mshop/catalog/manager/insert-usage/mysql
1083 1087
 			 * Updates the config, editor, ctime and mtime value of an inserted record
@@ -1141,8 +1145,7 @@  discard block
 block discarded – undo
1141 1145
 		{
1142 1146
 			$stmt->bind( $idx++, $siteid );
1143 1147
 			$stmt->bind( $idx++, $id, \Aimeos\Base\DB\Statement\Base::PARAM_INT );
1144
-		}
1145
-		else
1148
+		} else
1146 1149
 		{
1147 1150
 			$stmt->bind( $idx++, $date ); // ctime
1148 1151
 			$stmt->bind( $idx++, $siteid );
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
@@ -759,8 +759,7 @@
 block discarded – undo
759 759
 			 */
760 760
 			$path = 'mshop/product/manager/insert';
761 761
 			$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
762
-		}
763
-		else
762
+		} else
764 763
 		{
765 764
 			/** mshop/product/manager/update/mysql
766 765
 			 * Updates an existing product 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
@@ -416,8 +416,7 @@
 block discarded – undo
416 416
 			 */
417 417
 			$path = 'mshop/coupon/manager/code/insert';
418 418
 			$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
419
-		}
420
-		else
419
+		} else
421 420
 		{
422 421
 			/** mshop/coupon/manager/code/update/mysql
423 422
 			 * Updates an existing coupon code record in the database
Please login to merge, or discard this patch.