Completed
Push — master ( 9d10c2...bf46e5 )
by Lars
05:14
created
src/Intraface/XMLRPC/OnlinePayment/Server0100.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -182,12 +182,12 @@
 block discarded – undo
182 182
         }
183 183
 
184 184
         $data = array('contact_id' => $debtor->getContact()->getId(),
185
-                      'subject'    => $subject,
186
-                      'body'       => $body,
187
-                      'from_email' => $this->kernel->intranet->address->get('email'),
188
-                      'from_name'  => $this->kernel->intranet->address->get('name'),
189
-                      'type_id'    => 13, // onlinepayment
190
-                      'belong_to'  => $payment_id);
185
+                        'subject'    => $subject,
186
+                        'body'       => $body,
187
+                        'from_email' => $this->kernel->intranet->address->get('email'),
188
+                        'from_name'  => $this->kernel->intranet->address->get('name'),
189
+                        'type_id'    => 13, // onlinepayment
190
+                        'belong_to'  => $payment_id);
191 191
 
192 192
         if (!$email->save($data)) {
193 193
             throw new Exception('Could not save email to onlinepayment');
Please login to merge, or discard this patch.
src/Intraface/XMLRPC/Admin/Server.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -70,13 +70,13 @@
 block discarded – undo
70 70
         );
71 71
     }
72 72
 
73
-       /**
74
-     * Checking credentials
75
-     *
76
-     * @param struct $master_password
77
-     *
78
-     * @return boolean
79
-     */
73
+        /**
74
+         * Checking credentials
75
+         *
76
+         * @param struct $master_password
77
+         *
78
+         * @return boolean
79
+         */
80 80
     private function checkMasterpassword($master_password)
81 81
     {
82 82
         if ($master_password != 'abcdefghijklmnopqrstuvwxyz123456789#') {
Please login to merge, or discard this patch.
tests/xmlrpcservers/index.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -34,13 +34,13 @@
 block discarded – undo
34 34
 $HTTP_RAW_POST_DATA = file_get_contents('php://input');
35 35
 
36 36
 k()
37
-  ->setIdentityLoader(new MyIdentityLoader())
38
-  // Use container for wiring of components
39
-  // ->setComponentCreator(new k_InjectorAdapter(create_container()))
40
-  // Enable file logging
41
-  //->setLog(dirname(__FILE__) . '/../log/debug.log')
42
-  // Uncomment the next line to enable in-browser debugging
43
-  //->setDebug()
44
-  // Dispatch request
45
-  ->run('Intraface_XMLRPC_Controller')
46
-  ->out();
37
+    ->setIdentityLoader(new MyIdentityLoader())
38
+    // Use container for wiring of components
39
+    // ->setComponentCreator(new k_InjectorAdapter(create_container()))
40
+    // Enable file logging
41
+    //->setLog(dirname(__FILE__) . '/../log/debug.log')
42
+    // Uncomment the next line to enable in-browser debugging
43
+    //->setDebug()
44
+    // Dispatch request
45
+    ->run('Intraface_XMLRPC_Controller')
46
+    ->out();
Please login to merge, or discard this patch.
tests/unit/Shop/ShopBasketTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -214,7 +214,7 @@
 block discarded – undo
214 214
 
215 215
         $this->assertTrue($basket->removeEvaluationProducts());
216 216
 
217
-         $this->assertEquals(count($basket->getItems()), 0);
217
+            $this->assertEquals(count($basket->getItems()), 0);
218 218
     }
219 219
 
220 220
     function testSaveCustomerEan()
Please login to merge, or discard this patch.
src/Intraface/Filehandler/Controller/SelectFile.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -148,10 +148,10 @@
 block discarded – undo
148 148
         $this->document->setTitle('Files');
149 149
 
150 150
         $data = array('filemanager' => $filemanager,
151
-                      'multiple_choice' => $multiple_choice,
152
-                      //'receive_redirect' => $receive_redirect,
153
-                      'files' => $files,
154
-                      'selected_files' =>  $selected_files
151
+                        'multiple_choice' => $multiple_choice,
152
+                        //'receive_redirect' => $receive_redirect,
153
+                        'files' => $files,
154
+                        'selected_files' =>  $selected_files
155 155
         );
156 156
 
157 157
         $tpl = $this->template->create(dirname(__FILE__) . '/../templates/ckeditor');
Please login to merge, or discard this patch.
src/Intraface/modules/webshop/BasketEvaluation.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -147,15 +147,15 @@
 block discarded – undo
147 147
         }
148 148
 
149 149
         $sql = "running_index = ".$this->db->quote($input['running_index'], 'integer').", " .
150
-                 "evaluate_target_key = ".$this->db->quote($input['evaluate_target_key'], 'integer').", " .
151
-                 "evaluate_method_key = ".$this->db->quote($input['evaluate_method_key'], 'integer').", " .
152
-                 "evaluate_value = ".$this->db->quote($input['evaluate_value'], 'text').", " .
153
-                 "evaluate_value_case_sensitive = ".$this->db->quote($input['evaluate_value_case_sensitive'], 'integer').", " .
154
-                 "go_to_index_after = ".$this->db->quote($input['go_to_index_after'], 'integer').", " .
155
-                 "action_action_key = ".$this->db->quote($input['action_action_key'], 'integer').", " .
156
-                 "action_value = ".$this->db->quote($input['action_value'], 'text').", " .
157
-                 "action_quantity = ".$this->db->quote($input['action_quantity'], 'integer').", " .
158
-                 "action_unit_key = ".$this->db->quote($input['action_unit_key'], 'integer');
150
+                    "evaluate_target_key = ".$this->db->quote($input['evaluate_target_key'], 'integer').", " .
151
+                    "evaluate_method_key = ".$this->db->quote($input['evaluate_method_key'], 'integer').", " .
152
+                    "evaluate_value = ".$this->db->quote($input['evaluate_value'], 'text').", " .
153
+                    "evaluate_value_case_sensitive = ".$this->db->quote($input['evaluate_value_case_sensitive'], 'integer').", " .
154
+                    "go_to_index_after = ".$this->db->quote($input['go_to_index_after'], 'integer').", " .
155
+                    "action_action_key = ".$this->db->quote($input['action_action_key'], 'integer').", " .
156
+                    "action_value = ".$this->db->quote($input['action_value'], 'text').", " .
157
+                    "action_quantity = ".$this->db->quote($input['action_quantity'], 'integer').", " .
158
+                    "action_unit_key = ".$this->db->quote($input['action_unit_key'], 'integer');
159 159
 
160 160
         if ($this->id != 0) {
161 161
             $result = $this->db->exec("UPDATE webshop_basket_evaluation SET ".$sql." WHERE intranet_id = ".$this->db->quote($this->intranet->getId(), 'integer')." AND id = ".$this->db->quote($this->id, 'integer')  . " AND shop_id = ".$this->db->quote($this->shop->getId(), 'integer'));
Please login to merge, or discard this patch.
src/Intraface/XMLRPC/Shop/Server0004.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
         return $this->prepareResponseData($product->getRelatedProducts());
234 234
     }
235 235
 
236
-   /**
236
+    /**
237 237
      * Gets featured products
238 238
      *
239 239
      * Method is experimental and only used by discimport.dk. If you need to use it
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
 
279 279
     }
280 280
 
281
-   /**
281
+    /**
282 282
      * Gets product keywords which can be used to sort ones webshop
283 283
      *
284 284
      *
Please login to merge, or discard this patch.
src/Intraface/XMLRPC/Shop/Server.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
         return $this->prepareResponseData($product->getRelatedProducts());
234 234
     }
235 235
 
236
-   /**
236
+    /**
237 237
      * Gets featured products
238 238
      *
239 239
      * Method is experimental and only used by discimport.dk. If you need to use it
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
 
279 279
     }
280 280
 
281
-   /**
281
+    /**
282 282
      * Gets product keywords which can be used to sort ones webshop
283 283
      *
284 284
      *
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
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
         return $this->prepareResponseData($product->getRelatedProducts());
234 234
     }
235 235
 
236
-   /**
236
+    /**
237 237
      * Gets featured products
238 238
      *
239 239
      * Method is experimental and only used by discimport.dk. If you need to use it
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
 
279 279
     }
280 280
 
281
-   /**
281
+    /**
282 282
      * Gets product keywords which can be used to sort ones webshop
283 283
      *
284 284
      *
Please login to merge, or discard this patch.