Completed
Pull Request — master (#13)
by
unknown
02:04
created
test/bootstrap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 // Use this bootstrap file if you run the unit tests within a Magento installation
3
-define('CLASS_DIR', realpath(__DIR__ . '/../src/lib/'));
3
+define('CLASS_DIR', realpath(__DIR__.'/../src/lib/'));
4 4
 set_include_path(get_include_path().PATH_SEPARATOR.CLASS_DIR);
5 5
 spl_autoload_register(function($className)
6 6
 {
7
-    $fileName = str_replace('\\', DIRECTORY_SEPARATOR, $className) . '.php';
7
+    $fileName = str_replace('\\', DIRECTORY_SEPARATOR, $className).'.php';
8 8
     if (stream_resolve_include_path($fileName)) {
9 9
         include $fileName;
10 10
         return true;
Please login to merge, or discard this patch.
IntegerNet/Anonymizer/Model/Bridge/Entity/Enterprise/Giftregistry.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     {
34 34
         $entityId = $this->_entity->getId();
35 35
         if ($entityId) {
36
-            $this->_identifier = '_gift_registry_' . $entityId;
36
+            $this->_identifier = '_gift_registry_'.$entityId;
37 37
         } else {
38 38
             $this->_identifier = '';
39 39
         }
Please login to merge, or discard this patch.
community/IntegerNet/Anonymizer/Model/Bridge/Entity/Address/Abstract.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
         }
39 39
         $entityId = $this->_entity->getId();
40 40
         if ($entityId) {
41
-            $this->_identifier = $this->getEntityName() . $entityId;
41
+            $this->_identifier = $this->getEntityName().$entityId;
42 42
             return;
43 43
         }
44 44
         $this->_identifier = null;
Please login to merge, or discard this patch.
src/lib/IntegerNet/Anonymizer/Provider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
      */
79 79
     private function seedRng($identifier)
80 80
     {
81
-        $this->faker->seed(hexdec(hash("crc32b", $identifier . $this->salt)));
81
+        $this->faker->seed(hexdec(hash("crc32b", $identifier.$this->salt)));
82 82
     }
83 83
 
84 84
     private function resetRng()
Please login to merge, or discard this patch.
IntegerNet/Anonymizer/Test/Model/Bridge/Entity/CustomerAddress.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     public function testUpdateValues($customerAddressId)
44 44
     {
45 45
         static $changedMiddlename = 'trouble',
46
-               $changedStreet = "New Street\nSecond Line";
46
+                $changedStreet = "New Street\nSecond Line";
47 47
 
48 48
         /** @var IntegerNet_Anonymizer_Model_Bridge_Entity_Address_CustomerAddress $bridge */
49 49
         $bridge = Mage::getModel('integernet_anonymizer/bridge_entity_address_customerAddress');
Please login to merge, or discard this patch.
community/IntegerNet/Anonymizer/Test/Model/Bridge/Entity/OrderAddress.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     public function testUpdateValues($orderAddressId)
44 44
     {
45 45
         static $changedMiddlename = 'trouble',
46
-               $changedStreet = "New Street\nSecond Line";
46
+                $changedStreet = "New Street\nSecond Line";
47 47
 
48 48
         /** @var IntegerNet_Anonymizer_Model_Bridge_Entity_Address_OrderAddress $bridge */
49 49
         $bridge = Mage::getModel('integernet_anonymizer/bridge_entity_address_orderAddress');
Please login to merge, or discard this patch.
app/code/community/IntegerNet/Anonymizer/Test/Model/Bridge/Entity/Order.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
     public function testUpdateValues($orderId, $customerId)
45 45
     {
46 46
         static $changedEmail = '[email protected]',
47
-               $changedMiddlename = 'trouble';
47
+                $changedMiddlename = 'trouble';
48 48
 
49 49
         /** @var IntegerNet_Anonymizer_Model_Bridge_Entity_Order $bridge */
50 50
         $bridge = Mage::getModel('integernet_anonymizer/bridge_entity_order');
Please login to merge, or discard this patch.
app/code/community/IntegerNet/Anonymizer/Model/Bridge/Entity/Abstract.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -180,6 +180,6 @@
 block discarded – undo
180 180
      */
181 181
     public function entityExists()
182 182
     {
183
-        return (bool)$this->_entity;
183
+        return (bool) $this->_entity;
184 184
     }
185 185
 }
186 186
\ No newline at end of file
Please login to merge, or discard this patch.