Passed
Push — master ( fffea4...86229e )
by Aimeos
03:23
created
src/Controller/Jobs/Media/Scale/Standard.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -227,9 +227,12 @@
 block discarded – undo
227 227
 
228 228
 		foreach( $items as $item )
229 229
 		{
230
-			try {
230
+			try
231
+			{
231 232
 				$manager->save( $manager->scale( $item, $force ) );
232
-			} catch( \Exception $e ) {
233
+			}
234
+			catch( \Exception $e )
235
+			{
233 236
 				$msg = sprintf( 'Scaling media item "%1$s" failed: %2$s', $item->getId(), $e->getMessage() );
234 237
 				$logger->error( $msg, 'media/scale' );
235 238
 			}
Please login to merge, or discard this patch.
templates/order/email/payment/pdf.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 $this->pdf->setFont( 'dejavusans', '', 10 );
21 21
 
22 22
 $vmargin = [
23
-	'h1' => [ // HTML tag
23
+	'h1' => [// HTML tag
24 24
 		0 => ['h' => 1.5, 'n' => 0], // space before = h * n
25 25
 		1 => ['h' => 1.5, 'n' => 3] // space after = h * n
26 26
 	],
@@ -93,14 +93,14 @@  discard block
 block discarded – undo
93 93
 $data = [
94 94
 	'BCD', // required
95 95
 	'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)
96
-	1,     // UTF-8 (required)
96
+	1, // UTF-8 (required)
97 97
 	'SCT', // SEPA Credit Transfer (required)
98
-	'',    // BIC (optional)
99
-	'',    // Name of recipient (required, name of your company)
100
-	'',    // IBAN (required)
101
-	$this->summaryBasket->getPrice()->getCurrencyId() . $total,    // Currency and value (required)
102
-	'',    // Purpose (optional, 4 char code, https://wiki.windata.de/index.php?title=Purpose-SEPA-Codes)
103
-	'',    // ISO 11649 RF Creditor Reference (optional, 35 characters structured code)
98
+	'', // BIC (optional)
99
+	'', // Name of recipient (required, name of your company)
100
+	'', // IBAN (required)
101
+	$this->summaryBasket->getPrice()->getCurrencyId() . $total, // Currency and value (required)
102
+	'', // Purpose (optional, 4 char code, https://wiki.windata.de/index.php?title=Purpose-SEPA-Codes)
103
+	'', // ISO 11649 RF Creditor Reference (optional, 35 characters structured code)
104 104
 	$this->translate( 'controller/jobs', 'Invoioce' ) . ' ' . $this->orderItem->getInvoiceNumber(), // Reference of order and other data (optional, max. 140 characters)
105 105
 	$this->summaryBasket->getCustomerReference(), // Notice to the customer (optional, max. 70 characters)
106 106
 ];
Please login to merge, or discard this patch.