Completed
Pull Request — master (#26)
by Lars
10:03
created
tests/unit/Shop/ShopBasketTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@
 block discarded – undo
165 165
 
166 166
         $this->assertTrue($basket->removeEvaluationProducts());
167 167
 
168
-         $this->assertEquals(count($basket->getItems()), 0);
168
+            $this->assertEquals(count($basket->getItems()), 0);
169 169
     }
170 170
 
171 171
     function testSaveCustomerEan()
Please login to merge, or discard this patch.
src/Intraface/XMLRPC/Shop/Server0100.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -426,7 +426,7 @@  discard block
 block discarded – undo
426 426
         return $this->prepareResponseData($this->cleanUpProductList($product->getRelatedProducts($currencies, 'webshop')));
427 427
     }
428 428
 
429
-   /**
429
+    /**
430 430
      * Gets featured products
431 431
      *
432 432
      * Method is experimental and only used by discimport.dk. If you need to use it
@@ -477,7 +477,7 @@  discard block
 block discarded – undo
477 477
 
478 478
     }
479 479
 
480
-   /**
480
+    /**
481 481
      * Gets product keywords which can be used to sort ones webshop
482 482
      *
483 483
      *
Please login to merge, or discard this patch.
src/Intraface/XMLRPC/OnlinePayment/Server0100.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -170,12 +170,12 @@
 block discarded – undo
170 170
         }
171 171
 
172 172
         $data = array('contact_id' => $debtor->getContact()->getId(),
173
-                      'subject'    => $subject,
174
-                      'body'       => $body,
175
-                      'from_email' => $this->kernel->intranet->address->get('email'),
176
-                      'from_name'  => $this->kernel->intranet->address->get('name'),
177
-                      'type_id'    => 13, // onlinepayment
178
-                      'belong_to'  => $payment_id);
173
+                        'subject'    => $subject,
174
+                        'body'       => $body,
175
+                        'from_email' => $this->kernel->intranet->address->get('email'),
176
+                        'from_name'  => $this->kernel->intranet->address->get('name'),
177
+                        'type_id'    => 13, // onlinepayment
178
+                        'belong_to'  => $payment_id);
179 179
 
180 180
         if (!$email->save($data)) {
181 181
             throw new Exception('Could not save email to onlinepayment');
Please login to merge, or discard this patch.
src/Intraface/XMLRPC/OnlinePayment/Server.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -119,12 +119,12 @@
 block discarded – undo
119 119
         $body   .= "\n\nYours sincerely / Venlig hilsen\n".  $this->kernel->intranet->address->get('name');
120 120
 
121 121
         $data = array('contact_id' => $debtor->getContact()->getId(),
122
-                      'subject'    => $subject,
123
-                      'body'       => $body,
124
-                      'from_email' => $this->kernel->intranet->address->get('email'),
125
-                      'from_name'  => $this->kernel->intranet->address->get('name'),
126
-                      'type_id'    => 13, // onlinepayment
127
-                      'belong_to'  => $payment_id);
122
+                        'subject'    => $subject,
123
+                        'body'       => $body,
124
+                        'from_email' => $this->kernel->intranet->address->get('email'),
125
+                        'from_name'  => $this->kernel->intranet->address->get('name'),
126
+                        'type_id'    => 13, // onlinepayment
127
+                        'belong_to'  => $payment_id);
128 128
 
129 129
         if (!$email->save($data)) {
130 130
             throw new Exception('Could not save email to onlinepayment');
Please login to merge, or discard this patch.