Completed
Push — master ( c7cb6f...a11e92 )
by Aimeos
10:48
created
lib/mshoplib/src/MShop/Product/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -238,8 +238,7 @@
 block discarded – undo
238 238
 				 * @see mshop/product/manager/standard/count/ansi
239 239
 				 */
240 240
 				$path = 'mshop/product/manager/standard/insert';
241
-			}
242
-			else
241
+			} else
243 242
 			{
244 243
 				/** mshop/product/manager/standard/update/mysql
245 244
 				 * Updates an existing product record in the database
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Locale/Manager/Standard.php 2 patches
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -139,9 +139,12 @@  discard block
 block discarded – undo
139 139
 	 */
140 140
 	public function createItem()
141 141
 	{
142
-		try {
142
+		try
143
+		{
143 144
 			return $this->createItemBase( array( 'locale.siteid' => $this->getContext()->getLocale()->getSiteId() ) );
144
-		} catch( \Exception $e ) {
145
+		}
146
+		catch( \Exception $e )
147
+		{
145 148
 			return $this->createItemBase();
146 149
 		}
147 150
 	}
@@ -313,8 +316,7 @@  discard block
 block discarded – undo
313 316
 				 * @see mshop/locale/manager/standard/count/ansi
314 317
 				 */
315 318
 				$path = 'mshop/locale/manager/standard/insert';
316
-			}
317
-			else
319
+			} else
318 320
 			{
319 321
 				/** mshop/locale/manager/standard/update/mysql
320 322
 				 * Updates an existing locale record in the database
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -694,7 +694,7 @@  discard block
 block discarded – undo
694 694
 		$stmt = $conn->create( $sql );
695 695
 		$level = \Aimeos\MW\Logger\Base::DEBUG;
696 696
 
697
-		$this->getContext()->getLogger()->log( __METHOD__ . ': SQL statement: ' . $stmt, $level, 'core/sql' );
697
+		$this->getContext()->getLogger()->log( __METHOD__.': SQL statement: '.$stmt, $level, 'core/sql' );
698 698
 
699 699
 		return $stmt->execute();
700 700
 	}
@@ -729,7 +729,7 @@  discard block
 block discarded – undo
729 729
 			$replace = array(
730 730
 					$search->getConditionString( $types, $translations ),
731 731
 					$search->getSortationString( $types, $translations ),
732
-					( $columns ? ', ' . $columns : '' ),
732
+					( $columns ? ', '.$columns : '' ),
733 733
 					$search->getSliceStart(),
734 734
 					$search->getSliceSize(),
735 735
 			);
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Locale/Item/Currency/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,8 +71,7 @@
 block discarded – undo
71 71
 			$this->setCode( $key );
72 72
 			$this->values['locale.currency.id'] = $this->values['locale.currency.code'];
73 73
 			$this->modified = false;
74
-		}
75
-		else
74
+		} else
76 75
 		{
77 76
 			$this->values['locale.currency.id'] = null;
78 77
 			$this->modified = true;
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Locale/Item/Language/Standard.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,8 +72,7 @@
 block discarded – undo
72 72
 			$this->setCode( $key );
73 73
 			$this->values['locale.language.id'] = $this->values['locale.language.code'];
74 74
 			$this->modified = false;
75
-		}
76
-		else
75
+		} else
77 76
 		{
78 77
 			$this->values['locale.language.id'] = null;
79 78
 			$this->modified = true;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
 
116 116
 		if( (string) $key !== $this->getCode() )
117 117
 		{
118
-			$code = strtolower( $matches[1] ) . ( isset( $matches[4] ) ? $matches[3] . $matches[4] : '' );
118
+			$code = strtolower( $matches[1] ).( isset( $matches[4] ) ? $matches[3].$matches[4] : '' );
119 119
 			$this->values['locale.language.code'] = $code;
120 120
 			$this->modified = true;
121 121
 		}
Please login to merge, or discard this patch.
lib/mshoplib/setup/ListsAddTypeid.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -172,8 +172,7 @@
 block discarded – undo
172 172
 			{
173 173
 				$this->executeList( $stmtList );
174 174
 				$this->status( 'migrated' );
175
-			}
176
-			else
175
+			} else
177 176
 			{
178 177
 				$this->status( 'OK' );
179 178
 			}
Please login to merge, or discard this patch.
lib/mshoplib/setup/PriceRenameColumnPriceToValue.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->execute( $stmt );
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/OrderServiceAttributeAddPrimaryKey.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,8 +65,7 @@
 block discarded – undo
65 65
 		{
66 66
 			$this->executeList( $stmts );
67 67
 			$this->status( 'added' );
68
-		}
69
-		else
68
+		} else
70 69
 		{
71 70
 			$this->status( 'OK' );
72 71
 		}
Please login to merge, or discard this patch.
lib/mshoplib/setup/OrderRenameDomainToType.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,8 +76,7 @@
 block discarded – undo
76 76
 			{
77 77
 				$this->executeList( $stmtList );
78 78
 				$this->status( 'renamed' );
79
-			}
80
-			else
79
+			} else
81 80
 			{
82 81
 				$this->status( 'OK' );
83 82
 			}
Please login to merge, or discard this patch.
lib/mshoplib/setup/OrderMigrateType.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,8 +81,7 @@
 block discarded – undo
81 81
 			} else {
82 82
 				$this->status( 'OK' );
83 83
 			}
84
-		}
85
-		else
84
+		} else
86 85
 		{
87 86
 			$this->status( 'OK' );
88 87
 		}
Please login to merge, or discard this patch.