Completed
Branch master (4f99e3)
by Aimeos
02:41
created
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.
client/html/tests/Client/Html/Common/Decorator/ExampleTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 			->getMock();
36 36
 
37 37
 		$this->object = new \Aimeos\Client\Html\Common\Decorator\Example( $this->client, $context, [] );
38
-		$this->object->setView( \TestHelperHtml::getView());
38
+		$this->object->setView( \TestHelperHtml::getView() );
39 39
 	}
40 40
 
41 41
 
Please login to merge, or discard this patch.
client/html/tests/Client/Html/Basket/Mini/StandardTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -156,8 +156,8 @@
 block discarded – undo
156 156
 
157 157
 
158 158
 	/**
159
-	* @param string $code
160
-	*/
159
+	 * @param string $code
160
+	 */
161 161
 	protected function getProductItem( $code )
162 162
 	{
163 163
 		$manager = \Aimeos\MShop\Product\Manager\Factory::create( $this->context );
Please login to merge, or discard this patch.