Passed
Branch master (41be0c)
by Aimeos
03:16
created
lib/custom/src/MW/Mail/Message/Zend2.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -261,8 +261,7 @@  discard block
 block discarded – undo
261 261
 			} else {
262 262
 				$parts[] = $this->createContainer( $this->embedded, $type );
263 263
 			}
264
-		}
265
-		else if( $this->html != null )
264
+		} else if( $this->html != null )
266 265
 		{
267 266
 			$parts[] = $this->html;
268 267
 		}
@@ -275,8 +274,7 @@  discard block
 block discarded – undo
275 274
 		{
276 275
 			$type = \Zend\Mime\Mime::MULTIPART_ALTERNATIVE;
277 276
 			$msgparts = array( $this->createContainer( array_reverse( $parts ), $type ) );
278
-		}
279
-		else if( !empty( $parts ) )
277
+		} else if( !empty( $parts ) )
280 278
 		{
281 279
 			$msgparts = $parts;
282 280
 		}
Please login to merge, or discard this patch.
lib/custom/src/MW/Logger/Zend2.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,10 +52,12 @@
 block discarded – undo
52 52
 
53 53
 			$this->logger->log( $priority, '<' . $facility . '> ' . $message );
54 54
 		}
55
-		catch( \Zend\Log\Exception\InvalidArgumentException $ze )	{
55
+		catch( \Zend\Log\Exception\InvalidArgumentException $ze )
56
+		{
56 57
 			throw new \Aimeos\MW\Logger\Exception( $ze->getMessage() );
57 58
 		}
58
-		catch( \Zend\Log\Exception\RuntimeException $ze )	{
59
+		catch( \Zend\Log\Exception\RuntimeException $ze )
60
+		{
59 61
 			throw new \Aimeos\MW\Logger\Exception( $ze->getMessage() );
60 62
 		}
61 63
 	}
Please login to merge, or discard this patch.