Passed
Push — master ( 50e989...69e622 )
by Aimeos
05:21
created
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.
lib/mshoplib/setup/TreeAddParentId.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -94,8 +94,7 @@
 block discarded – undo
94 94
 			{
95 95
 				$this->executeList( $stmt );
96 96
 				$this->status( 'added' );
97
-			}
98
-			else
97
+			} else
99 98
 			{
100 99
 				$this->status( 'OK' );
101 100
 			}
Please login to merge, or discard this patch.
lib/mshoplib/setup/default/DemoAddCouponData.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -89,8 +89,7 @@
 block discarded – undo
89 89
 			}
90 90
 
91 91
 			$this->status( 'added' );
92
-		}
93
-		else
92
+		} else
94 93
 		{
95 94
 			$this->status( 'removed' );
96 95
 		}
Please login to merge, or discard this patch.
lib/mshoplib/setup/default/DemoAddCustomerData.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,8 +75,7 @@
 block discarded – undo
75 75
 			$this->saveCustomerItems( $data );
76 76
 
77 77
 			$this->status( 'added' );
78
-		}
79
-		else
78
+		} else
80 79
 		{
81 80
 			$this->status( 'removed' );
82 81
 		}
Please login to merge, or discard this patch.
lib/mshoplib/setup/default/DemoAddProductData.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,8 +77,7 @@
 block discarded – undo
77 77
 		{
78 78
 			$this->addDemoData();
79 79
 			$this->status( 'added' );
80
-		}
81
-		else
80
+		} else
82 81
 		{
83 82
 			$this->status( 'removed' );
84 83
 		}
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Common/Manager/Base.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -668,8 +668,7 @@
 block discarded – undo
668 668
 
669 669
 		if( isset( $attributes[$name] ) && $attributes[$name] instanceof $iface ) {
670 670
 			return $attributes[$name]->getInternalDeps();
671
-		}
672
-		else if( isset( $attributes['id'] ) && $attributes['id'] instanceof $iface ) {
671
+		} else if( isset( $attributes['id'] ) && $attributes['id'] instanceof $iface ) {
673 672
 			return $attributes['id']->getInternalDeps();
674 673
 		}
675 674
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -458,7 +458,7 @@
 block discarded – undo
458 458
 	 * @return \Aimeos\MShop\Common\Item\Iface Requested item
459 459
 	 * @throws \Aimeos\MShop\Exception if no item with the given ID found
460 460
 	 */
461
-	protected function findItemBase( array $pairs, array $ref, $default  )
461
+	protected function findItemBase( array $pairs, array $ref, $default )
462 462
 	{
463 463
 		$expr = [];
464 464
 		$criteria = $this->getObject()->createSearch( $default )->setSlice( 0, 1 );
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Common/Manager/Lists/Base.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -243,8 +243,7 @@
 block discarded – undo
243 243
 				$stmt->bind( 8, $pos, \Aimeos\MW\DB\Statement\Base::PARAM_INT );
244 244
 
245 245
 				$stmt->execute()->finish();
246
-			}
247
-			else
246
+			} else
248 247
 			{
249 248
 				$sql = $this->getSqlConfig( $cfgPath . 'getposmax' );
250 249
 
Please login to merge, or discard this patch.