Passed
Push — master ( dfe09e...ae2cd9 )
by Aimeos
03:38
created
admin/jqadm/templates/common/page-standard.php 1 patch
Braces   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -190,8 +190,11 @@  discard block
 block discarded – undo
190 190
 								<?php foreach( $this->pageSiteList as $siteItem ) : ?>
191 191
 									<?php if( $siteItem->getId() === $this->pageSiteTree->getId() ) : ?>
192 192
 										<?php $siteFcn( $this->pageSiteTree ); ?>
193
-									<?php else : ?>
194
-										<?php $siteFcn( $siteItem ); ?>
193
+									<?php else {
194
+	: ?>
195
+										<?php $siteFcn( $siteItem );
196
+}
197
+?>
195 198
 									<?php endif; ?>
196 199
 								<?php endforeach; ?>
197 200
 							</ul>
@@ -229,9 +232,12 @@  discard block
 block discarded – undo
229 232
 							</li>
230 233
 
231 234
 						<?php endif; ?>
232
-					<?php else : ?>
235
+					<?php else {
236
+	: ?>
233 237
 						<?php if( $this->access( $this->config( 'admin/jqadm/resource/' . $navitem . '/groups', [] ) ) ) : ?>
234
-							<?php $nav = $navitem; $key = $this->config( 'admin/jqadm/resource/' . $navitem . '/key' ); ?>
238
+							<?php $nav = $navitem;
239
+}
240
+$key = $this->config( 'admin/jqadm/resource/' . $navitem . '/key' ); ?>
235 241
 
236 242
 							<li class="<?= $enc->attr( $navitem ); ?> <?= $nav === $before ? 'before' : '' ?> <?= !strncmp( $resource, $nav, strlen( $nav ) ) ? 'active' : '' ?> <?= $nav === $after ? 'after' : '' ?>">
237 243
 								<a href="<?= $enc->attr( $this->url( $searchTarget, $cntl, $action, array( 'resource' => $navitem ) + $params, [], $config ) ); ?>"
Please login to merge, or discard this patch.
admin/jqadm/templates/review/item-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -117,10 +117,13 @@
 block discarded – undo
117 117
 											<?= $enc->html( $this->translate( 'mshop/code', 'status:-2' ) ); ?>
118 118
 										</option>
119 119
 									</select>
120
-								<?php else : ?>
120
+								<?php else {
121
+	: ?>
121 122
 									<span class="form-control item-status">
122 123
 										<?php $key = 'status:' . $this->get( 'itemData/review.status' ) ?>
123
-										<?= $enc->html( $this->translate( 'mshop/code', $key ) ); ?>
124
+										<?= $enc->html( $this->translate( 'mshop/code', $key ) );
125
+}
126
+?>
124 127
 									</span>
125 128
 								<?php endif ?>
126 129
 							</div>
Please login to merge, or discard this patch.
admin/jqadm/templates/customer/item-standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -184,9 +184,12 @@
 block discarded – undo
184 184
 													</option>
185 185
 												<?php endforeach; ?>
186 186
 											</select>
187
-										<?php else : ?>
187
+										<?php else {
188
+	: ?>
188 189
 											<input class="item-languageid" type="hidden"
189
-												name="<?= $enc->attr( $this->formparam( array( 'item', 'customer.languageid' ) ) ); ?>"
190
+												name="<?= $enc->attr( $this->formparam( array( 'item', 'customer.languageid' ) ) );
191
+}
192
+?>"
190 193
 												value="<?= $enc->attr( $languages->getCode()->first() ); ?>" />
191 194
 										<?php endif; ?>
192 195
 									</div>
Please login to merge, or discard this patch.
admin/jqadm/templates/order/item-standard.php 1 patch
Braces   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -345,8 +345,11 @@  discard block
 block discarded – undo
345 345
 											<div class="col-sm-8"><span class="item-coupon"><?= $enc->attr( $code ); ?></span></div>
346 346
 										</div>
347 347
 									<?php endforeach; ?>
348
-								<?php else : ?>
349
-									<?= $enc->html( $this->translate( 'admin', 'No voucher' ) ); ?>
348
+								<?php else {
349
+	: ?>
350
+									<?= $enc->html( $this->translate( 'admin', 'No voucher' ) );
351
+}
352
+?>
350 353
 								<?php endif; ?>
351 354
 							</div>
352 355
 						</div>
@@ -777,8 +780,11 @@  discard block
 block discarded – undo
777 780
 										<div class="col-6 name">
778 781
 											<?php if( $basket->getPrice()->getTaxFlag() ) : ?>
779 782
 												<?= $enc->html( $this->translate( 'admin', 'Incl. tax' ) ); ?>
780
-											<?php else : ?>
781
-												<?= $enc->html( $this->translate( 'admin', '+ Tax' ) ); ?>
783
+											<?php else {
784
+	: ?>
785
+												<?= $enc->html( $this->translate( 'admin', '+ Tax' ) );
786
+}
787
+?>
782 788
 											<?php endif; ?>
783 789
 										</div>
784 790
 										<div class="col-6 value"><?= $enc->html( sprintf( $priceFormat, $this->number( $basket->getPrice()->getTaxValue() ), $currency ) ); ?></div>
Please login to merge, or discard this patch.