Passed
Pull Request — master (#182)
by Simon
05:27
created
lib/mshoplib/src/MShop/Order/Manager/Status/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -259,8 +259,7 @@
 block discarded – undo
259 259
 				 */
260 260
 				$path = 'mshop/order/manager/status/standard/insert';
261 261
 				$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
262
-			}
263
-			else
262
+			} else
264 263
 			{
265 264
 				/** mshop/order/manager/status/standard/update/mysql
266 265
 				 * Updates an existing order record in the database
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Price/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -453,8 +453,7 @@
 block discarded – undo
453 453
 				 */
454 454
 				$path = 'mshop/price/manager/standard/insert';
455 455
 				$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
456
-			}
457
-			else
456
+			} else
458 457
 			{
459 458
 				/** mshop/price/manager/standard/update/mysql
460 459
 				 * Updates an existing price record in the database
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Subscription/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -322,8 +322,7 @@
 block discarded – undo
322 322
 				 */
323 323
 				$path = 'mshop/subscription/manager/standard/insert';
324 324
 				$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
325
-			}
326
-			else
325
+			} else
327 326
 			{
328 327
 				/** mshop/subscription/manager/standard/update/mysql
329 328
 				 * Updates an existing subscription record in the database
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Common/Manager/Base.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -200,8 +200,7 @@  discard block
 block discarded – undo
200 200
 			foreach( $columns as $name ) {
201 201
 				$names .= '"' . $name . '", '; $values .= '?, ';
202 202
 			}
203
-		}
204
-		else
203
+		} else
205 204
 		{
206 205
 			foreach( $columns as $name ) {
207 206
 				$names .= '"' . $name . '" = ?, ';
@@ -440,8 +439,7 @@  discard block
 block discarded – undo
440 439
 			$e = new \Exception();
441 440
 			$msg['trace'] = $e->getTraceAsString();
442 441
 			$level = \Aimeos\MW\Logger\Base::NOTICE;
443
-		}
444
-		else
442
+		} else
445 443
 		{
446 444
 			$level = \Aimeos\MW\Logger\Base::DEBUG;
447 445
 		}
@@ -599,8 +597,7 @@  discard block
 block discarded – undo
599 597
 
600 598
 		if( isset( $attributes[$name] ) && $attributes[$name] instanceof $iface ) {
601 599
 			return $attributes[$name]->getInternalDeps();
602
-		}
603
-		else if( isset( $attributes['id'] ) && $attributes['id'] instanceof $iface ) {
600
+		} else if( isset( $attributes['id'] ) && $attributes['id'] instanceof $iface ) {
604 601
 			return $attributes['id']->getInternalDeps();
605 602
 		}
606 603
 
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Stock/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -227,8 +227,7 @@
 block discarded – undo
227 227
 				 */
228 228
 				$path = 'mshop/stock/manager/standard/insert';
229 229
 				$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
230
-			}
231
-			else
230
+			} else
232 231
 			{
233 232
 				/** mshop/stock/manager/standard/update/mysql
234 233
 				 * Updates an existing product stock record in the database
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Plugin/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -350,8 +350,7 @@
 block discarded – undo
350 350
 				 */
351 351
 				$path = 'mshop/plugin/manager/standard/insert';
352 352
 				$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
353
-			}
354
-			else
353
+			} else
355 354
 			{
356 355
 				/** mshop/plugin/manager/standard/update/mysql
357 356
 				 * Updates an existing plugin record in the database
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Product/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -476,8 +476,7 @@
 block discarded – undo
476 476
 				 */
477 477
 				$path = 'mshop/product/manager/standard/insert';
478 478
 				$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
479
-			}
480
-			else
479
+			} else
481 480
 			{
482 481
 				/** mshop/product/manager/standard/update/mysql
483 482
 				 * Updates an existing product record in the database
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Service/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -401,8 +401,7 @@
 block discarded – undo
401 401
 				 */
402 402
 				$path = 'mshop/service/manager/standard/insert';
403 403
 				$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
404
-			}
405
-			else
404
+			} else
406 405
 			{
407 406
 				/** mshop/service/manager/standard/update/mysql
408 407
 				 * Updates an existing service record in the database
Please login to merge, or discard this patch.
lib/mshoplib/src/MShop/Tag/Manager/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -205,8 +205,7 @@
 block discarded – undo
205 205
 				 */
206 206
 				$path = 'mshop/tag/manager/standard/insert';
207 207
 				$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
208
-			}
209
-			else
208
+			} else
210 209
 			{
211 210
 				/** mshop/tag/manager/standard/update/mysql
212 211
 				 * Updates an existing tag tag record in the database
Please login to merge, or discard this patch.