Passed
Push — master ( 5a0518...247ea4 )
by Aimeos
14:19
created
src/MShop/Customer/Manager/Group/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -305,8 +305,7 @@
 block discarded – undo
305 305
 			 */
306 306
 			$path = 'mshop/customer/manager/group/insert';
307 307
 			$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
308
-		}
309
-		else
308
+		} else
310 309
 		{
311 310
 			/** mshop/customer/manager/group/update/mysql
312 311
 			 * Updates an existing customer group record in the database
Please login to merge, or discard this patch.
src/MShop/Common/Manager/DB.php 1 patch
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -101,8 +101,7 @@  discard block
 block discarded – undo
101 101
 			foreach( $columns as $name ) {
102 102
 				$names .= '"' . $name . '", '; $values .= '?, ';
103 103
 			}
104
-		}
105
-		else
104
+		} else
106 105
 		{
107 106
 			foreach( $columns as $name ) {
108 107
 				$names .= '"' . $name . '" = ?, ';
@@ -593,11 +592,9 @@  discard block
 block discarded – undo
593 592
 
594 593
 		if( isset( $attributes[$prefix] ) && $attributes[$prefix] instanceof $iface ) {
595 594
 			return $attributes[$prefix]->getInternalDeps();
596
-		}
597
-		elseif( isset( $attributes[$name] ) && $attributes[$name] instanceof $iface ) {
595
+		} elseif( isset( $attributes[$name] ) && $attributes[$name] instanceof $iface ) {
598 596
 			return $attributes[$name]->getInternalDeps();
599
-		}
600
-		else if( isset( $attributes['id'] ) && $attributes['id'] instanceof $iface ) {
597
+		} else if( isset( $attributes['id'] ) && $attributes['id'] instanceof $iface ) {
601 598
 			return $attributes['id']->getInternalDeps();
602 599
 		}
603 600
 
@@ -823,8 +820,7 @@  discard block
 block discarded – undo
823 820
 			 */
824 821
 			$path = $this->getConfigKey( 'insert' );
825 822
 			$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
826
-		}
827
-		else
823
+		} else
828 824
 		{
829 825
 			/** mshop/common/manager/update/mysql
830 826
 			 * Updates an existing record in the database
Please login to merge, or discard this patch.
setup/unittest/Test.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 	{
16 16
 		$this->info( 'Creating test schema', 'vv' );
17 17
 
18
-        $this->db( 'db-test' )->table( 'mshop_test', function( \Aimeos\Upscheme\Schema\Table $table ) {
18
+		$this->db( 'db-test' )->table( 'mshop_test', function( \Aimeos\Upscheme\Schema\Table $table ) {
19 19
 
20 20
 			$table->engine = 'InnoDB';
21 21
 
Please login to merge, or discard this patch.