Passed
Pull Request — master (#4)
by Raúl
03:37
created
test/configure/ConfigureTest.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
  * @package Test\Configure
12 12
  *
13 13
  * @group oscommerce-configure
14
-
15 14
  */
16 15
 class ConfigureTest extends PagantisOscommerceTest
17 16
 {
Please login to merge, or discard this patch.
catalog/includes/modules/payment/pagantis.php 1 patch
Indentation   +29 added lines, -29 removed lines patch added patch discarded remove patch
@@ -29,26 +29,26 @@  discard block
 block discarded – undo
29 29
     public $order_id;
30 30
 
31 31
     public $defaultConfigs = array('PMT_TITLE'=>'Instant Financing',
32
-                                   'PMT_SIMULATOR_DISPLAY_TYPE'=>'pmtSDK.simulator.types.SIMPLE',
33
-                                   'PMT_SIMULATOR_DISPLAY_SKIN'=>'pmtSDK.simulator.skins.BLUE',
34
-                                   'PMT_SIMULATOR_DISPLAY_POSITION'=>'hookDisplayProductButtons',
35
-                                   'PMT_SIMULATOR_START_INSTALLMENTS'=>3,
36
-                                   'PMT_SIMULATOR_MAX_INSTALLMENTS'=>12,
37
-                                   'PMT_SIMULATOR_CSS_POSITION_SELECTOR'=>'default',
38
-                                   'PMT_SIMULATOR_DISPLAY_CSS_POSITION'=>'pmtSDK.simulator.positions.INNER',
39
-                                   'PMT_SIMULATOR_CSS_PRICE_SELECTOR'=>'default',
40
-                                   'PMT_SIMULATOR_CSS_QUANTITY_SELECTOR'=>'default',
41
-                                   'PMT_FORM_DISPLAY_TYPE'=>0,
42
-                                   'PMT_DISPLAY_MIN_AMOUNT'=>1,
43
-                                   'PMT_URL_OK'=>'',
44
-                                   'PMT_URL_KO'=>'',
45
-                                   'PMT_TITLE_EXTRA' => 'Paga hasta en 12 cómodas cuotas con Paga+Tarde. Solicitud totalmente 
32
+                                    'PMT_SIMULATOR_DISPLAY_TYPE'=>'pmtSDK.simulator.types.SIMPLE',
33
+                                    'PMT_SIMULATOR_DISPLAY_SKIN'=>'pmtSDK.simulator.skins.BLUE',
34
+                                    'PMT_SIMULATOR_DISPLAY_POSITION'=>'hookDisplayProductButtons',
35
+                                    'PMT_SIMULATOR_START_INSTALLMENTS'=>3,
36
+                                    'PMT_SIMULATOR_MAX_INSTALLMENTS'=>12,
37
+                                    'PMT_SIMULATOR_CSS_POSITION_SELECTOR'=>'default',
38
+                                    'PMT_SIMULATOR_DISPLAY_CSS_POSITION'=>'pmtSDK.simulator.positions.INNER',
39
+                                    'PMT_SIMULATOR_CSS_PRICE_SELECTOR'=>'default',
40
+                                    'PMT_SIMULATOR_CSS_QUANTITY_SELECTOR'=>'default',
41
+                                    'PMT_FORM_DISPLAY_TYPE'=>0,
42
+                                    'PMT_DISPLAY_MIN_AMOUNT'=>1,
43
+                                    'PMT_URL_OK'=>'',
44
+                                    'PMT_URL_KO'=>'',
45
+                                    'PMT_TITLE_EXTRA' => 'Paga hasta en 12 cómodas cuotas con Paga+Tarde. Solicitud totalmente 
46 46
                             online y sin papeleos,¡y la respuesta es inmediata!'
47 47
     );
48 48
 
49 49
     /**
50
-    * Constructor
51
-    */
50
+     * Constructor
51
+     */
52 52
     public function __construct()
53 53
     {
54 54
         global $order;
@@ -97,8 +97,8 @@  discard block
 block discarded – undo
97 97
      **************/
98 98
 
99 99
     /**
100
-    * Here you can implement using payment zones (refer to standard PayPal module as reference)
101
-    */
100
+     * Here you can implement using payment zones (refer to standard PayPal module as reference)
101
+     */
102 102
     public function update_status()
103 103
     {
104 104
         global $order, $db;
@@ -366,10 +366,10 @@  discard block
 block discarded – undo
366 366
     }
367 367
 
368 368
     /**
369
-    * Post-processing activities
370
-    *
371
-    * @return boolean
372
-    */
369
+     * Post-processing activities
370
+     *
371
+     * @return boolean
372
+     */
373 373
     public function after_process()
374 374
     {
375 375
         global $insert_id, $order, $currencies;
@@ -527,16 +527,16 @@  discard block
 block discarded – undo
527 527
     }
528 528
 
529 529
     /**
530
-    * Internal list of configuration keys used for configuration of the module
531
-    *
532
-    * @return array
533
-    */
530
+     * Internal list of configuration keys used for configuration of the module
531
+     *
532
+     * @return array
533
+     */
534 534
     public function keys()
535 535
     {
536 536
         return array('MODULE_PAYMENT_PAGANTIS_STATUS',
537
-           'MODULE_PAYMENT_PAGANTIS_PK',
538
-           'MODULE_PAYMENT_PAGANTIS_SK',
539
-           'MODULE_PAYMENT_PAGANTIS_SIMULATOR');
537
+            'MODULE_PAYMENT_PAGANTIS_PK',
538
+            'MODULE_PAYMENT_PAGANTIS_SK',
539
+            'MODULE_PAYMENT_PAGANTIS_SIMULATOR');
540 540
     }
541 541
 
542 542
     /**
Please login to merge, or discard this patch.