Passed
Push — test ( 38a555...191f3d )
by Aimeos
03:13 queued 15s
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/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.