Passed
Branch master (560f53)
by Aimeos
13:02
created
client/html/templates/cms/page/header-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,11 +57,14 @@
 block discarded – undo
57 57
 
58 58
 		<meta name="twitter:card" content="summary_large_image" />
59 59
 
60
-	<?php else : ?>
60
+	<?php else {
61
+	: ?>
61 62
 
62 63
 		<title><?= $enc->html( $this->get( 'contextSiteLabel', 'Aimeos' ) ) ?></title>
63 64
 
64
-	<?php endif; ?>
65
+	<?php endif;
66
+}
67
+?>
65 68
 
66 69
 	<meta name="application-name" content="Aimeos" />
67 70
 
Please login to merge, or discard this patch.
client/html/src/Client/Html/Cms/Page/Contact/Standard.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -204,8 +204,7 @@
 block discarded – undo
204 204
 				->send();
205 205
 
206 206
 				$error = [$context->getI18n()->dt( 'client', 'Message sent successfully' )];
207
-			}
208
-			else
207
+			} else
209 208
 			{
210 209
 				$error = [$context->getI18n()->dt( 'client', 'No recipient configured' )];
211 210
 			}
Please login to merge, or discard this patch.
client/html/src/Client/Html/Cms/Page/Standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -171,8 +171,7 @@  discard block
 block discarded – undo
171 171
 			}
172 172
 
173 173
 			$html = $view->render( $view->config( $tplconf, $default ) );
174
-		}
175
-		else
174
+		} else
176 175
 		{
177 176
 			$html = $this->modifyBody( $html, $uid );
178 177
 		}
@@ -242,8 +241,7 @@  discard block
 block discarded – undo
242 241
 			{
243 242
 				$view->pageErrorList = array_merge( $view->get( 'pageErrorList', [] ), [$e->getMessage()] );
244 243
 			}
245
-		}
246
-		else
244
+		} else
247 245
 		{
248 246
 			$html = $this->modifyHeader( $html, $uid );
249 247
 		}
Please login to merge, or discard this patch.