Passed
Pull Request — master (#165)
by
unknown
06:43 queued 03:23
created
client/html/templates/catalog/stock/body-standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,8 +95,7 @@
 block discarded – undo
95 95
 				$textStock[$level],
96 96
 				date_create( $date )->format( $dateFormat )
97 97
 			);
98
-		}
99
-		else
98
+		} else
100 99
 		{
101 100
 			$text = sprintf( $textStockIn,
102 101
 				$typeText[$stockType],
Please login to merge, or discard this patch.
client/html/src/Client/Html/Basket/Mini/Standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -146,8 +146,7 @@  discard block
 block discarded – undo
146 146
 
147 147
 			$html = $view->render( $view->config( $tplconf, $default ) );
148 148
 			$this->setBasketCached( $key, $html );
149
-		}
150
-		else
149
+		} else
151 150
 		{
152 151
 			$html = $this->modifyBody( $html, $uid );
153 152
 		}
@@ -216,8 +215,7 @@  discard block
 block discarded – undo
216 215
 			{
217 216
 				$this->logException( $e );
218 217
 			}
219
-		}
220
-		else
218
+		} else
221 219
 		{
222 220
 			$html = $this->modifyHeader( $html, $uid );
223 221
 		}
Please login to merge, or discard this patch.
client/html/src/Client/Html/Catalog/Detail/Standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -190,8 +190,7 @@  discard block
 block discarded – undo
190 190
 			}
191 191
 
192 192
 			$html = $view->render( $view->config( $tplconf, $default ) );
193
-		}
194
-		else
193
+		} else
195 194
 		{
196 195
 			$html = $this->modifyBody( $html, $uid );
197 196
 		}
@@ -261,8 +260,7 @@  discard block
 block discarded – undo
261 260
 			{
262 261
 				$this->logException( $e );
263 262
 			}
264
-		}
265
-		else
263
+		} else
266 264
 		{
267 265
 			$html = $this->modifyHeader( $html, $uid );
268 266
 		}
Please login to merge, or discard this patch.
client/html/src/Client/Html/Catalog/Lists/Standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -205,8 +205,7 @@  discard block
 block discarded – undo
205 205
 			}
206 206
 
207 207
 			$html = $view->render( $this->getTemplatePath( $tplconf, $default ) );
208
-		}
209
-		else
208
+		} else
210 209
 		{
211 210
 			$html = $this->modifyBody( $html, $uid );
212 211
 		}
@@ -290,8 +289,7 @@  discard block
 block discarded – undo
290 289
 			{
291 290
 				$this->logException( $e );
292 291
 			}
293
-		}
294
-		else
292
+		} else
295 293
 		{
296 294
 			$html = $this->modifyHeader( $html, $uid );
297 295
 		}
Please login to merge, or discard this patch.
client/html/src/Client/Html/Account/Download/Standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -249,13 +249,11 @@
 block discarded – undo
249 249
 			$response->withHeader( 'Expires', '0' );
250 250
 
251 251
 			$response->withBody( $response->createStream( $fs->reads( $value ) ) );
252
-		}
253
-		elseif( filter_var( $value, FILTER_VALIDATE_URL ) !== false )
252
+		} elseif( filter_var( $value, FILTER_VALIDATE_URL ) !== false )
254 253
 		{
255 254
 			$response->withHeader( 'Location', $value );
256 255
 			$response->withStatus( 303 );
257
-		}
258
-		else
256
+		} else
259 257
 		{
260 258
 			$response->withStatus( 404 );
261 259
 		}
Please login to merge, or discard this patch.
client/html/src/Client/Html/Email/Delivery/Standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -522,12 +522,10 @@
 block discarded – undo
522 522
 				{
523 523
 					throw new \Aimeos\Client\Html\Exception( $e->getMessage() );
524 524
 				}
525
-			}
526
-			else if( function_exists( 'mime_content_type' ) )
525
+			} else if( function_exists( 'mime_content_type' ) )
527 526
 			{
528 527
 				$mimetype = mime_content_type( $filename );
529
-			}
530
-			else
528
+			} else
531 529
 			{
532 530
 				$mimetype = 'application/binary';
533 531
 			}
Please login to merge, or discard this patch.
client/html/src/Client/Html/Email/Payment/Standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -522,12 +522,10 @@
 block discarded – undo
522 522
 				{
523 523
 					throw new \Aimeos\Client\Html\Exception( $e->getMessage() );
524 524
 				}
525
-			}
526
-			else if( function_exists( 'mime_content_type' ) )
525
+			} else if( function_exists( 'mime_content_type' ) )
527 526
 			{
528 527
 				$mimetype = mime_content_type( $filename );
529
-			}
530
-			else
528
+			} else
531 529
 			{
532 530
 				$mimetype = 'application/binary';
533 531
 			}
Please login to merge, or discard this patch.
client/html/src/Client/Html/Catalog/Stage/Standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -190,8 +190,7 @@  discard block
 block discarded – undo
190 190
 			}
191 191
 
192 192
 			$html = $view->render( $view->config( $tplconf, $default ) );
193
-		}
194
-		else
193
+		} else
195 194
 		{
196 195
 			$html = $this->modifyBody( $html, $uid );
197 196
 		}
@@ -261,8 +260,7 @@  discard block
 block discarded – undo
261 260
 			{
262 261
 				$this->logException( $e );
263 262
 			}
264
-		}
265
-		else
263
+		} else
266 264
 		{
267 265
 			$html = $this->modifyHeader( $html, $uid );
268 266
 		}
Please login to merge, or discard this patch.
client/html/src/Client/Html/Catalog/Filter/Standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -190,8 +190,7 @@  discard block
 block discarded – undo
190 190
 			}
191 191
 
192 192
 			$html = $view->render( $view->config( $tplconf, $default ) );
193
-		}
194
-		else
193
+		} else
195 194
 		{
196 195
 			$html = $this->modifyBody( $html, $uid );
197 196
 		}
@@ -261,8 +260,7 @@  discard block
 block discarded – undo
261 260
 			{
262 261
 				$this->logException( $e );
263 262
 			}
264
-		}
265
-		else
263
+		} else
266 264
 		{
267 265
 			$html = $this->modifyHeader( $html, $uid );
268 266
 		}
Please login to merge, or discard this patch.