Passed
Push — master ( 600719...a7c237 )
by Aimeos
04:43
created
client/html/templates/email/payment/pdf-body.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
 $this->pdf->setFont( 'dejavusans', '', 10 );
25 25
 
26 26
 $vmargin = [
27
-	'h1' => [ // HTML tag
27
+	'h1' => [// HTML tag
28 28
 		0 => ['h' => 1.5, 'n' => 0], // space before = h * n
29 29
 		1 => ['h' => 1.5, 'n' => 3] // space after = h * n
30 30
 	],
@@ -97,14 +97,14 @@  discard block
 block discarded – undo
97 97
 $data = [
98 98
 	'BCD', // required
99 99
 	'002', // Version 2 (required, 1=UTF-8, 2=ISO 8859-1, 3=ISO 8859-2, 4=ISO 8859-4, 5=ISO 8859-5, 6=ISO 8859-7, 7=ISO 8859-10, 8=ISO 8859-15)
100
-	1,     // UTF-8 (required)
100
+	1, // UTF-8 (required)
101 101
 	'SCT', // SEPA Credit Transfer (required)
102
-	'',    // BIC (optional)
103
-	'',    // Name of recipient (required, name of your company)
104
-	'',    // IBAN (required)
105
-	$this->summaryBasket->getPrice()->getCurrencyId() . $total,    // Currency and value (required)
106
-	'',    // Purpose (optional, 4 char code, https://wiki.windata.de/index.php?title=Purpose-SEPA-Codes)
107
-	'',    // ISO 11649 RF Creditor Reference (optional, 35 characters structured code)
102
+	'', // BIC (optional)
103
+	'', // Name of recipient (required, name of your company)
104
+	'', // IBAN (required)
105
+	$this->summaryBasket->getPrice()->getCurrencyId() . $total, // Currency and value (required)
106
+	'', // Purpose (optional, 4 char code, https://wiki.windata.de/index.php?title=Purpose-SEPA-Codes)
107
+	'', // ISO 11649 RF Creditor Reference (optional, 35 characters structured code)
108 108
 	$this->translate( 'client', 'Order' ) . ' ' . $this->extOrderItem->getOrderNumber(), // Reference of order and other data (optional, max. 140 characters)
109 109
 	$this->extOrderBaseItem->getCustomerReference(), // Notice to the customer (optional, max. 70 characters)
110 110
 ];
Please login to merge, or discard this patch.
client/html/src/Client/Html/Common/Decorator/Exceptions.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,9 +69,12 @@
 block discarded – undo
69 69
 	 */
70 70
 	public function header( string $uid = '' ) : ?string
71 71
 	{
72
-		try {
72
+		try
73
+		{
73 74
 			return $this->client()->header( $uid );
74
-		} catch( \Exception $e ) {
75
+		}
76
+		catch( \Exception $e )
77
+		{
75 78
 			$this->logException( $e );
76 79
 		}
77 80
 
Please login to merge, or discard this patch.
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.