Passed
Push — master ( 58be2c...8d0fe1 )
by Aimeos
03:05
created
client/html/templates/account/favorite/body-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -125,9 +125,12 @@
 block discarded – undo
125 125
 
126 126
 							<?php if( ( $mediaItem = $mediaItems->first() ) !== null ) : ?>
127 127
 								<div class="media-item" style="background-image: url('<?= $this->content( $mediaItem->getPreview() ); ?>')"></div>
128
-							<?php else : ?>
128
+							<?php else {
129
+	: ?>
129 130
 								<div class="media-item"></div>
130
-							<?php endif; ?>
131
+							<?php endif;
132
+}
133
+?>
131 134
 
132 135
 							<h3 class="name"><?= $enc->html( $productItem->getName(), $enc::TRUST ); ?></h3>
133 136
 							<div class="price-list">
Please login to merge, or discard this patch.
client/html/templates/account/watch/body-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -126,9 +126,12 @@
 block discarded – undo
126 126
 
127 127
 							<?php if( ( $mediaItem = $mediaItems->first() ) !== null ) : ?>
128 128
 								<div class="media-item" style="background-image: url('<?= $this->content( $mediaItem->getPreview() ); ?>')"></div>
129
-							<?php else : ?>
129
+							<?php else {
130
+	: ?>
130 131
 								<div class="media-item"></div>
131
-							<?php endif; ?>
132
+							<?php endif;
133
+}
134
+?>
132 135
 
133 136
 							<h3 class="name"><?= $enc->html( $productItem->getName(), $enc::TRUST ); ?></h3>
134 137
 
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
@@ -27,9 +27,12 @@
 block discarded – undo
27 27
 
28 28
 		<?php if( ( $mediaItem = $mediaItems->first() ) !== null ) : ?>
29 29
 			<div class="media-item" style="background-image: url('<?= $this->content( $mediaItem->getPreview() ); ?>')"></div>
30
-		<?php else : ?>
30
+		<?php else {
31
+	: ?>
31 32
 			<div class="media-item"></div>
32
-		<?php endif; ?>
33
+		<?php endif;
34
+}
35
+?>
33 36
 
34 37
 		<h3 class="name"><?= $enc->html( $productItem->getName(), $enc::TRUST ); ?></h3>
35 38
 
Please login to merge, or discard this patch.
client/html/templates/catalog/session/pinned-body-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -129,9 +129,12 @@
 block discarded – undo
129 129
 					<?php $mediaItems = $productItem->getRefItems( 'media', 'default', 'default' ); ?>
130 130
 					<?php if( ( $mediaItem = $mediaItems->first() ) !== null ) : ?>
131 131
 						<div class="media-item" style="background-image: url('<?= $this->content( $mediaItem->getPreview() ); ?>')"></div>
132
-					<?php else : ?>
132
+					<?php else {
133
+	: ?>
133 134
 						<div class="media-item"></div>
134
-					<?php endif; ?>
135
+					<?php endif;
136
+}
137
+?>
135 138
 
136 139
 					<h3 class="name"><?= $enc->html( $productItem->getName(), $enc::TRUST ); ?></h3>
137 140
 					<div class="price-list">
Please login to merge, or discard this patch.