Passed
Push — 2021.10 ( bc3731...9eae06 )
by Aimeos
02:57
created
lib/custom/src/MShop/Customer/Manager/Typo3.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -470,8 +470,7 @@
 block discarded – undo
470 470
 				 */
471 471
 				$path = 'mshop/customer/manager/typo3/insert';
472 472
 				$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
473
-			}
474
-			else
473
+			} else
475 474
 			{
476 475
 				/** mshop/customer/manager/typo3/update
477 476
 				 * Updates an existing customer record in the database
Please login to merge, or discard this patch.
lib/custom/src/MShop/Customer/Manager/Group/Typo3.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -237,8 +237,7 @@
 block discarded – undo
237 237
 				 */
238 238
 				$path = 'mshop/customer/manager/group/typo3/insert';
239 239
 				$sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) );
240
-			}
241
-			else
240
+			} else
242 241
 			{
243 242
 				/** mshop/customer/manager/group/typo3/update/mysql
244 243
 				 * Updates an existing customer group record in the database
Please login to merge, or discard this patch.
lib/custom/setup/CustomerRemoveLostUserDataTypo3.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,8 +58,7 @@
 block discarded – undo
58 58
 				) {
59 59
 					$this->execute( $sql, 'db-customer' );
60 60
 					$this->status( 'done' );
61
-				}
62
-				else
61
+				} else
63 62
 				{
64 63
 					$this->status( 'OK' );
65 64
 				}
Please login to merge, or discard this patch.
lib/custom/setup/FEUsersAddSiteIdTypo3.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@
 block discarded – undo
55 55
 			}
56 56
 
57 57
 			$this->status( 'done' );
58
-		}
59
-		else
58
+		} else
60 59
 		{
61 60
 			$this->status( 'OK' );
62 61
 		}
Please login to merge, or discard this patch.
lib/custom/setup/FEUsersMigrateCountryTypo3.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,8 +44,7 @@
 block discarded – undo
44 44
 
45 45
 			$this->execute( $stmt, 'db-customer' );
46 46
 			$this->status( 'done' );
47
-		}
48
-		else
47
+		} else
49 48
 		{
50 49
 			$this->status( 'OK' );
51 50
 		}
Please login to merge, or discard this patch.
lib/custom/src/MW/Mail/Message/Typo3.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -304,14 +304,12 @@  discard block
 block discarded – undo
304 304
 			if( class_exists( $class ) && $this->object instanceof $class )
305 305
 			{
306 306
 				$this->object->attach( $data, $filename, $mimetype );
307
-			}
308
-			elseif( class_exists( '\Swift_Attachment' ) )
307
+			} elseif( class_exists( '\Swift_Attachment' ) )
309 308
 			{
310 309
 				$part = \Swift_Attachment::newInstance( $data, $filename, $mimetype );
311 310
 				$part->setDisposition( $disposition );
312 311
 				$this->object->attach( $part );
313
-			}
314
-			else
312
+			} else
315 313
 			{
316 314
 				throw new \RuntimeException( 'Symfony mailer or Swiftmailer package missing' );
317 315
 			}
@@ -341,8 +339,7 @@  discard block
 block discarded – undo
341 339
 		{
342 340
 			$this->object->embed( $data, $filename, $mimetype );
343 341
 			return 'cid:' . $filename;
344
-		}
345
-		elseif( class_exists( '\Swift_EmbeddedFile' ) )
342
+		} elseif( class_exists( '\Swift_EmbeddedFile' ) )
346 343
 		{
347 344
 			$part = \Swift_EmbeddedFile::newInstance( $data, $filename, $mimetype );
348 345
 			return $this->object->embed( $part );
Please login to merge, or discard this patch.