Passed
Push — master ( 600719...a7c237 )
by Aimeos
04:43
created
client/html/templates/account/history/body.php 1 patch
Indentation   +39 added lines, -39 removed lines patch added patch discarded remove patch
@@ -179,19 +179,19 @@  discard block
 block discarded – undo
179 179
 								<?php if( !empty( $orderItem->getBaseItem()->getAddress( 'payment' ) ) ) : ?>
180 180
 									<?= $this->partial(
181 181
 										/** client/html/account/history/summary/address
182
-											* Location of the address partial template for the account history component
183
-											*
184
-											* To configure an alternative template for the address partial, you
185
-											* have to configure its path relative to the template directory
186
-											* (usually client/html/templates/). It's then used to display the
187
-											* payment or delivery address block in the account history component.
188
-											*
189
-											* @param string Relative path to the address partial
190
-											* @since 2017.01
191
-											* @category Developer
192
-											* @see client/html/account/history/summary/detail
193
-											* @see client/html/account/history/summary/service
194
-											*/
182
+										 * Location of the address partial template for the account history component
183
+										 *
184
+										 * To configure an alternative template for the address partial, you
185
+										 * have to configure its path relative to the template directory
186
+										 * (usually client/html/templates/). It's then used to display the
187
+										 * payment or delivery address block in the account history component.
188
+										 *
189
+										 * @param string Relative path to the address partial
190
+										 * @since 2017.01
191
+										 * @category Developer
192
+										 * @see client/html/account/history/summary/detail
193
+										 * @see client/html/account/history/summary/service
194
+										 */
195 195
 										$this->config( 'client/html/account/history/summary/address', 'common/summary/address' ),
196 196
 										array( 'addresses' => $orderItem->getBaseItem()->getAddress( 'payment' ), 'type' => 'payment' )
197 197
 									) ?>
@@ -228,19 +228,19 @@  discard block
 block discarded – undo
228 228
 								<?php if( !empty( $orderItem->getBaseItem()->getService( 'delivery' ) ) ) : ?>
229 229
 									<?= $this->partial(
230 230
 										/** client/html/account/history/summary/service
231
-											* Location of the service partial template for the account history component
232
-											*
233
-											* To configure an alternative template for the service partial, you
234
-											* have to configure its path relative to the template directory
235
-											* (usually client/html/templates/). It's then used to display the
236
-											* payment or delivery service block in the account history component
237
-											*
238
-											* @param string Relative path to the service partial
239
-											* @since 2017.01
240
-											* @category Developer
241
-											* @see client/html/account/history/summary/address
242
-											* @see client/html/account/history/summary/detail
243
-											*/
231
+										 * Location of the service partial template for the account history component
232
+										 *
233
+										 * To configure an alternative template for the service partial, you
234
+										 * have to configure its path relative to the template directory
235
+										 * (usually client/html/templates/). It's then used to display the
236
+										 * payment or delivery service block in the account history component
237
+										 *
238
+										 * @param string Relative path to the service partial
239
+										 * @since 2017.01
240
+										 * @category Developer
241
+										 * @see client/html/account/history/summary/address
242
+										 * @see client/html/account/history/summary/detail
243
+										 */
244 244
 										$this->config( 'client/html/account/history/summary/service', 'common/summary/service' ),
245 245
 										array( 'service' => $orderItem->getBaseItem()->getService( 'delivery' ), 'type' => 'delivery' )
246 246
 									) ?>
@@ -303,19 +303,19 @@  discard block
 block discarded – undo
303 303
 						<div class="basket col-sm-12">
304 304
 							<?= $this->partial(
305 305
 								/** client/html/account/history/summary/detail
306
-									* Location of the detail partial template for the account history component
307
-									*
308
-									* To configure an alternative template for the detail partial, you
309
-									* have to configure its path relative to the template directory
310
-									* (usually client/html/templates/). It's then used to display the
311
-									* product detail block in the account history component.
312
-									*
313
-									* @param string Relative path to the detail partial
314
-									* @since 2017.01
315
-									* @category Developer
316
-									* @see client/html/account/history/summary/address
317
-									* @see client/html/account/history/summary/service
318
-									*/
306
+								 * Location of the detail partial template for the account history component
307
+								 *
308
+								 * To configure an alternative template for the detail partial, you
309
+								 * have to configure its path relative to the template directory
310
+								 * (usually client/html/templates/). It's then used to display the
311
+								 * product detail block in the account history component.
312
+								 *
313
+								 * @param string Relative path to the detail partial
314
+								 * @since 2017.01
315
+								 * @category Developer
316
+								 * @see client/html/account/history/summary/address
317
+								 * @see client/html/account/history/summary/service
318
+								 */
319 319
 								$this->config( 'client/html/account/history/summary/detail', 'common/summary/detail' ),
320 320
 								array(
321 321
 									'summaryBasket' => $orderItem->getBaseItem(),
Please login to merge, or discard this patch.
client/html/templates/account/subscription/body.php 1 patch
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -180,19 +180,19 @@  discard block
 block discarded – undo
180 180
 							<?php if( !empty( $item->getBaseItem()->getAddress( 'payment' ) ) ) : ?>
181 181
 								<?= $this->partial(
182 182
 									/** client/html/account/subscription/summary/address
183
-									* Location of the address partial template for the account subscription component
184
-									*
185
-									* To configure an alternative template for the address partial, you
186
-									* have to configure its path relative to the template directory
187
-									* (usually client/html/templates/). It's then used to display the
188
-									* payment or delivery address block in the account subscription component.
189
-									*
190
-									* @param string Relative path to the address partial
191
-									* @since 2018.04
192
-									* @category Developer
193
-									* @see client/html/account/subscription/summary/detail
194
-									* @see client/html/account/subscription/summary/service
195
-									*/
183
+									 * Location of the address partial template for the account subscription component
184
+									 *
185
+									 * To configure an alternative template for the address partial, you
186
+									 * have to configure its path relative to the template directory
187
+									 * (usually client/html/templates/). It's then used to display the
188
+									 * payment or delivery address block in the account subscription component.
189
+									 *
190
+									 * @param string Relative path to the address partial
191
+									 * @since 2018.04
192
+									 * @category Developer
193
+									 * @see client/html/account/subscription/summary/detail
194
+									 * @see client/html/account/subscription/summary/service
195
+									 */
196 196
 									$this->config( 'client/html/account/subscription/summary/address', 'common/summary/address' ),
197 197
 									array( 'addresses' => $item->getBaseItem()->getAddress( 'payment' ), 'type' => 'payment' )
198 198
 								) ?>
@@ -227,19 +227,19 @@  discard block
 block discarded – undo
227 227
 					<div class="basket">
228 228
 						<?= $this->partial(
229 229
 							/** client/html/account/subscription/summary/detail
230
-							* Location of the detail partial template for the account subscription component
231
-							*
232
-							* To configure an alternative template for the detail partial, you
233
-							* have to configure its path relative to the template directory
234
-							* (usually client/html/templates/). It's then used to display the
235
-							* product detail block in the account subscription component.
236
-							*
237
-							* @param string Relative path to the detail partial
238
-							* @since 2018.04
239
-							* @category Developer
240
-							* @see client/html/account/subscription/summary/address
241
-							* @see client/html/account/subscription/summary/service
242
-							*/
230
+							 * Location of the detail partial template for the account subscription component
231
+							 *
232
+							 * To configure an alternative template for the detail partial, you
233
+							 * have to configure its path relative to the template directory
234
+							 * (usually client/html/templates/). It's then used to display the
235
+							 * product detail block in the account subscription component.
236
+							 *
237
+							 * @param string Relative path to the detail partial
238
+							 * @since 2018.04
239
+							 * @category Developer
240
+							 * @see client/html/account/subscription/summary/address
241
+							 * @see client/html/account/subscription/summary/service
242
+							 */
243 243
 							$this->config( 'client/html/account/subscription/summary/detail', 'common/summary/detail' ),
244 244
 							array(
245 245
 								'summaryBasket' => $item->getBaseItem(),
Please login to merge, or discard this patch.
client/html/tests/Client/Html/Account/Subscription/StandardTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
 
94 94
 	protected function getSubscription()
95 95
 	{
96
-		$manager =  \Aimeos\MShop::create( $this->context, 'subscription' );
96
+		$manager = \Aimeos\MShop::create( $this->context, 'subscription' );
97 97
 		$filter = $manager->filter()->add( 'subscription.dateend', '==', '2010-01-01' );
98 98
 
99 99
 		return $manager->search( $filter )->first( new \Exception( 'No subscription item found' ) );
Please login to merge, or discard this patch.