Passed
Push — master ( b31778...bcd1c2 )
by Aimeos
03:38
created
client/html/templates/catalog/stage/body-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,9 +59,12 @@
 block discarded – undo
59 59
 							</a>
60 60
 						</li>
61 61
 					<?php endforeach; ?>
62
-				<?php else : ?>
62
+				<?php else {
63
+	: ?>
63 64
 					<li>
64
-						<a href="<?= $enc->attr( $this->url( $listTarget, $listController, $listAction, $this->get( 'stageParams', [] ), [], $listConfig ) ); ?>">
65
+						<a href="<?= $enc->attr( $this->url( $listTarget, $listController, $listAction, $this->get( 'stageParams', [] ), [], $listConfig ) );
66
+}
67
+?>">
65 68
 							<?= $enc->html( $this->translate( 'client', 'Your search result' ), $enc::TRUST ); ?>
66 69
 						</a>
67 70
 					</li>
Please login to merge, or discard this patch.
client/html/src/Client/Html/Catalog/Filter/Attribute/Standard.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -316,13 +316,11 @@
 block discarded – undo
316 316
 			{
317 317
 				$item = $item->set( 'checked', true );
318 318
 				unset( $params[$key] );
319
-			}
320
-			elseif( ( $key = array_search( $id, $oneIds ) ) !== null )
319
+			} elseif( ( $key = array_search( $id, $oneIds ) ) !== null )
321 320
 			{
322 321
 				$item = $item->set( 'checked', true );
323 322
 				unset( $params[$key] );
324
-			}
325
-			elseif( ( $key = array_search( $id, $optIds ) ) !== null )
323
+			} elseif( ( $key = array_search( $id, $optIds ) ) !== null )
326 324
 			{
327 325
 				$item = $item->set( 'checked', true );
328 326
 				unset( $params[$key] );
Please login to merge, or discard this patch.
client/html/templates/catalog/detail/seen-partial-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,9 +24,12 @@
 block discarded – undo
24 24
 
25 25
 		<?php if( ( $mediaItem = $productItem->getRefItems( 'media', 'default', 'default' )->first() ) !== null ) : ?>
26 26
 			<div class="media-item" style="background-image: url('<?= $this->content( $mediaItem->getPreview() ); ?>')"></div>
27
-		<?php else : ?>
27
+		<?php else {
28
+	: ?>
28 29
 			<div class="media-item"></div>
29
-		<?php endif; ?>
30
+		<?php endif;
31
+}
32
+?>
30 33
 
31 34
 		<h3 class="name"><?= $enc->html( $productItem->getName(), $enc::TRUST ); ?></h3>
32 35
 
Please login to merge, or discard this patch.
client/html/templates/common/partials/attribute-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -123,9 +123,12 @@
 block discarded – undo
123 123
 
124 124
 					</ul>
125 125
 
126
-				<?php else : ?>
126
+				<?php else {
127
+	: ?>
127 128
 
128
-					<input type="hidden" value="1" name="<?= $enc->attr( $this->formparam( ['b_prod', 0, 'attrconfid', 'qty', ''] ) ); ?>" />
129
+					<input type="hidden" value="1" name="<?= $enc->attr( $this->formparam( ['b_prod', 0, 'attrconfid', 'qty', ''] ) );
130
+}
131
+?>" />
129 132
 					<select class="form-control select-list" name="<?= $enc->attr( $this->formparam( ['b_prod', 0, 'attrconfid', 'id', ''] ) ); ?>">
130 133
 
131 134
 						<?php if( $this->config( 'client/html/catalog/attribute/preselect/' . $code, false ) === false ) : ?>
Please login to merge, or discard this patch.