Passed
Push — master ( 23d0a5...26f6d6 )
by Aimeos
05:18
created
lib/mshoplib/src/MShop/Text/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -264,8 +264,7 @@
 block discarded – undo
264 264
 				 */
265 265
 				$path = 'mshop/text/manager/standard/insert';
266 266
 				$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
267
-			}
268
-			else
267
+			} else
269 268
 			{
270 269
 				/** mshop/text/manager/standard/update/mysql
271 270
 				 * Updates an existing text record in the database
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Customer/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -517,8 +517,7 @@
 block discarded – undo
517 517
 				 */
518 518
 				$path = 'mshop/customer/manager/standard/insert';
519 519
 				$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
520
-			}
521
-			else
520
+			} else
522 521
 			{
523 522
 				/** mshop/customer/manager/standard/update/mysql
524 523
 				 * Updates an existing customer record in the database
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Customer/Manager/Group/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -306,8 +306,7 @@
 block discarded – undo
306 306
 				 */
307 307
 				$path = 'mshop/customer/manager/group/standard/insert';
308 308
 				$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
309
-			}
310
-			else
309
+			} else
311 310
 			{
312 311
 				/** mshop/customer/manager/group/standard/update/mysql
313 312
 				 * Updates an existing customer group record in the database
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Supplier/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -361,8 +361,7 @@
 block discarded – undo
361 361
 				 */
362 362
 				$path = 'mshop/supplier/manager/standard/insert';
363 363
 				$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
364
-			}
365
-			else
364
+			} else
366 365
 			{
367 366
 				/** mshop/supplier/manager/standard/update/mysql
368 367
 				 * Updates an existing supplier record in the database
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Catalog/Manager/Standard.php 1 patch
Braces   +13 added lines, -10 removed lines patch added patch discarded remove patch
@@ -731,9 +731,12 @@  discard block
 block discarded – undo
731 731
 
732 732
 		foreach( $sitePath as $siteId )
733 733
 		{
734
-			try {
734
+			try
735
+			{
735 736
 				$path = $this->createTreeManager( $siteId )->getPath( $id );
736
-			} catch( \Exception $e ) {
737
+			}
738
+			catch( \Exception $e )
739
+			{
737 740
 				continue;
738 741
 			}
739 742
 
@@ -768,9 +771,12 @@  discard block
 block discarded – undo
768 771
 
769 772
 		foreach( $sitePath as $siteId )
770 773
 		{
771
-			try {
774
+			try
775
+			{
772 776
 				$node = $this->createTreeManager( $siteId )->getNode( $id, $level, $criteria );
773
-			} catch( \Exception $e ) {
777
+			}
778
+			catch( \Exception $e )
779
+			{
774 780
 				continue;
775 781
 			}
776 782
 
@@ -850,8 +856,7 @@  discard block
 block discarded – undo
850 856
 				if( $child->getParentId() !== $item->getParentId() ) {
851 857
 					$this->moveItem( $child->getId(), $item->getParentId(), $child->getParentId() );
852 858
 				}
853
-			}
854
-			else
859
+			} else
855 860
 			{
856 861
 				$this->insertItem( $child, $item->getId() );
857 862
 			}
@@ -1009,8 +1014,7 @@  discard block
 block discarded – undo
1009 1014
 				 */
1010 1015
 				$path = 'mshop/catalog/manager/standard/update-usage';
1011 1016
 				$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ), false );
1012
-			}
1013
-			else
1017
+			} else
1014 1018
 			{
1015 1019
 				/** mshop/catalog/manager/standard/insert-usage/mysql
1016 1020
 				 * Updates the config, editor, ctime and mtime value of an inserted record
@@ -1073,8 +1077,7 @@  discard block
 block discarded – undo
1073 1077
 			{
1074 1078
 				$stmt->bind( $idx++, $siteid, \Aimeos\MW\DB\Statement\Base::PARAM_INT );
1075 1079
 				$stmt->bind( $idx++, $id, \Aimeos\MW\DB\Statement\Base::PARAM_INT );
1076
-			}
1077
-			else
1080
+			} else
1078 1081
 			{
1079 1082
 				$stmt->bind( $idx++, $date ); // ctime
1080 1083
 				$stmt->bind( $idx++, $siteid, \Aimeos\MW\DB\Statement\Base::PARAM_INT );
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Media/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -412,8 +412,7 @@
 block discarded – undo
412 412
 				 */
413 413
 				$path = 'mshop/media/manager/standard/insert';
414 414
 				$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
415
-			}
416
-			else
415
+			} else
417 416
 			{
418 417
 				/** mshop/media/manager/standard/update/mysql
419 418
 				 * Updates an existing media record in the database
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Order/Manager/Base/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -619,8 +619,7 @@
 block discarded – undo
619 619
 				 */
620 620
 				$path = 'mshop/order/manager/base/standard/insert';
621 621
 				$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
622
-			}
623
-			else
622
+			} else
624 623
 			{
625 624
 				/** mshop/order/manager/base/standard/update/mysql
626 625
 				 * Updates an existing order record in the database
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Order/Manager/Base/Address/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -657,8 +657,7 @@
 block discarded – undo
657 657
 				 */
658 658
 				$path = 'mshop/order/manager/base/address/standard/insert';
659 659
 				$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
660
-			}
661
-			else
660
+			} else
662 661
 			{
663 662
 				/** mshop/order/manager/base/address/standard/update/mysql
664 663
 				 * Updates an existing order record in the database
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Order/Manager/Base/Product/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -710,8 +710,7 @@
 block discarded – undo
710 710
 				 */
711 711
 				$path = 'mshop/order/manager/base/product/standard/insert';
712 712
 				$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
713
-			}
714
-			else
713
+			} else
715 714
 			{
716 715
 				/** mshop/order/manager/base/product/standard/update/mysql
717 716
 				 * Updates an existing order record in the database
Please login to merge, or discard this patch.