Passed
Branch master (4f99e3)
by Aimeos
04:48
created
client/html/templates/email/common/html-summary-body-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,8 +56,11 @@
 block discarded – undo
56 56
 						$this->config( 'client/html/email/common/summary/address/html', 'common/summary/address-standard' ),
57 57
 						array( 'address' => $addresses['delivery'], 'type' => 'delivery' )
58 58
 					); ?>
59
-				<?php else : ?>
60
-					<?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST ); ?>
59
+				<?php else {
60
+	: ?>
61
+					<?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST );
62
+}
63
+?>
61 64
 				<?php endif; ?>
62 65
 			</div>
63 66
 		</div>
Please login to merge, or discard this patch.
client/html/templates/email/account/text-body-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,11 @@
 block discarded – undo
20 20
 
21 21
 <?php if( ( $pass = $this->get( 'extAccountPassword' ) ) !== null ) : ?>
22 22
 	<?= $this->translate( 'client', 'Password' ); ?>: <?= $pass; ?>
23
-<?php else : ?>
24
-	<?= $this->translate( 'client', 'Password' ); ?>: <?= $this->translate( 'client', 'Like entered by you' ); ?>
23
+<?php else {
24
+	: ?>
25
+	<?= $this->translate( 'client', 'Password' );
26
+}
27
+?>: <?= $this->translate( 'client', 'Like entered by you' ); ?>
25 28
 <?php endif; ?>
26 29
 
27 30
 
Please login to merge, or discard this patch.
client/html/templates/basket/standard/body-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -120,9 +120,12 @@
 block discarded – undo
120 120
 						href="<?= $enc->attr( $this->url( $checkoutTarget, $checkoutController, $checkoutAction, [], [], $checkoutConfig ) ); ?>">
121 121
 						<?= $enc->html( $this->translate( 'client', 'Checkout' ), $enc::TRUST ); ?>
122 122
 					</a>
123
-				<?php else : ?>
123
+				<?php else {
124
+	: ?>
124 125
 					<a class="btn btn-primary btn-lg btn-action"
125
-						href="<?= $enc->attr( $this->url( $basketTarget, $basketController, $basketAction, array( 'b_check' => 1 ), [], $basketConfig ) ); ?>">
126
+						href="<?= $enc->attr( $this->url( $basketTarget, $basketController, $basketAction, array( 'b_check' => 1 ), [], $basketConfig ) );
127
+}
128
+?>">
126 129
 						<?= $enc->html( $this->translate( 'client', 'Check' ), $enc::TRUST ); ?>
127 130
 					</a>
128 131
 				<?php endif; ?>
Please login to merge, or discard this patch.
client/html/templates/account/subscription/lists-body-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -122,8 +122,11 @@
 block discarded – undo
122 122
 									<span class="value col-xs-6">
123 123
 										<?php if( isset( $intervals[$item->getInterval()] ) ) : ?>
124 124
 											<?= $enc->html( $intervals[$item->getInterval()]->getName(), $enc::TRUST ); ?>
125
-										<?php else : ?>
126
-											<?= $enc->html( $item->getInterval(), $enc::TRUST ); ?>
125
+										<?php else {
126
+	: ?>
127
+											<?= $enc->html( $item->getInterval(), $enc::TRUST );
128
+}
129
+?>
127 130
 										<?php endif; ?>
128 131
 									</span>
129 132
 								</div>
Please login to merge, or discard this patch.
client/html/templates/account/subscription/detail-body-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,8 +68,11 @@
 block discarded – undo
68 68
 						$this->config( 'client/html/account/subscription/summary/address', 'common/summary/address-standard' ),
69 69
 						array( 'address' => $addresses['delivery'], 'type' => 'delivery' )
70 70
 					); ?>
71
-				<?php else : ?>
72
-					<?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST ); ?>
71
+				<?php else {
72
+	: ?>
73
+					<?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST );
74
+}
75
+?>
73 76
 				<?php endif; ?>
74 77
 			</div>
75 78
 		</div>
Please login to merge, or discard this patch.
client/html/templates/account/history/order-body-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,8 +70,11 @@
 block discarded – undo
70 70
 						$this->config( 'client/html/account/history/summary/address', 'common/summary/address-standard' ),
71 71
 						array( 'address' => $addresses['delivery'], 'type' => 'delivery' )
72 72
 					); ?>
73
-				<?php else : ?>
74
-					<?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST ); ?>
73
+				<?php else {
74
+	: ?>
75
+					<?= $enc->html( $this->translate( 'client', 'like billing address' ), $enc::TRUST );
76
+}
77
+?>
75 78
 				<?php endif; ?>
76 79
 			</div>
77 80
 		</div>
Please login to merge, or discard this patch.
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 = reset( $mediaItems ) ) !== false ) : ?>
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 = reset( $mediaItems ) ) !== false ) : ?>
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.
controller/jobs/src/Controller/Jobs/Customer/Email/Watch/Standard.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -241,7 +241,9 @@
 block discarded – undo
241 241
 					}
242 242
 				}
243 243
 			}
244
-			catch( \Exception $e ) { ; } // no price available
244
+			catch( \Exception $e )
245
+			{
246
+; } // no price available
245 247
 		}
246 248
 
247 249
 		return $result;
Please login to merge, or discard this patch.