Passed
Push — master ( e3fcf4...82e94b )
by
unknown
02:37
created
code/model/address/CountryPrice_EcommerceCountry.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -163,9 +163,9 @@
 block discarded – undo
163 163
     }
164 164
 
165 165
     /**
166
-    * checks if the country has a distributor
167
-    * and returns the primary country for the distributor.
168
-    * If not, returns the defaulf country.
166
+     * checks if the country has a distributor
167
+     * and returns the primary country for the distributor.
168
+     * If not, returns the defaulf country.
169 169
      *
170 170
      * @return EcommerceCountry
171 171
      *
Please login to merge, or discard this patch.
tests/EcommerceCountriesTest.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php
2 2
 class EcommerceCountriesTest extends SapphireTest {
3 3
 
4
-	protected $usesDatabase = false;
4
+    protected $usesDatabase = false;
5 5
 
6
-	protected $requiredExtensions = array();
6
+    protected $requiredExtensions = array();
7 7
 
8
-	public function testMyMethod() {
9
-		$this->assertEquals(1, 1);
10
-	}
8
+    public function testMyMethod() {
9
+        $this->assertEquals(1, 1);
10
+    }
11 11
 
12 12
 }
13 13
 
Please login to merge, or discard this patch.
code/model/process/extensions/CountryPrice_OrderDOD.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
             $order = Order::get()->byID($order->ID);
102 102
             $orderHasBeenChanged = false;
103 103
 
104
-             //check currency ...
104
+                //check currency ...
105 105
             if ($order->CurrencyUsedID != $currencyObject->ID) {
106 106
                 $order->SetCurrency($currencyObject);
107 107
                 $orderHasBeenChanged = true;
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
                 'Root.Country',
150 150
                 DropdownField::create(
151 151
                     'DistributorID',
152
-                     _t('Distributor.SINGULAR_NAME', 'Distributor'),
152
+                        _t('Distributor.SINGULAR_NAME', 'Distributor'),
153 153
                     array(''=> '--- Please select ---') + Distributor::get()->map()->toArray()
154 154
                 )
155 155
             );
Please login to merge, or discard this patch.