Completed
Push — development ( bff125...0f5c1f )
by Fabian
07:22
created
test/IntegerNet/Anonymizer/ProviderTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,6 +45,6 @@
 block discarded – undo
45 45
             $randomDigits[] = $provider->getFakerData('randomDigit', '[email protected]', true);
46 46
         }
47 47
         sort($randomDigits);
48
-        $this->assertEquals(range(0,9), $randomDigits, '10 unique digits should be all from 0..9');
48
+        $this->assertEquals(range(0, 9), $randomDigits, '10 unique digits should be all from 0..9');
49 49
     }
50 50
 }
Please login to merge, or discard this patch.
IntegerNet/Anonymizer/Test/Model/Bridge/Entity/GiftregistryPerson.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
         /** @var IntegerNet_Anonymizer_Model_Bridge_Entity_Enterprise_GiftregistryPerson $bridge */
62 62
         $bridge = Mage::getModel('integernet_anonymizer/bridge_entity_enterprise_giftregistryPerson');
63 63
 
64
-        $dataProvider = Mage::getModel('enterprise_giftregistry/person');;
64
+        $dataProvider = Mage::getModel('enterprise_giftregistry/person'); ;
65 65
         $bridge->setRawData($dataProvider->load($registryId)->setId($registryId)->getData());
66 66
         $bridge->getValues()['email']->setValue($changedEmail);
67 67
 
Please login to merge, or discard this patch.
code/community/IntegerNet/Anonymizer/Test/Model/Bridge/Entity/Customer.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($customerId)
44 44
     {
45 45
         static $changedEmail = '[email protected]',
46
-               $changedMiddlename = 'trouble';
46
+                $changedMiddlename = 'trouble';
47 47
 
48 48
         /** @var IntegerNet_Anonymizer_Model_Bridge_Entity_Customer $bridge */
49 49
         $bridge = Mage::getModel('integernet_anonymizer/bridge_entity_customer');
Please login to merge, or discard this patch.
community/IntegerNet/Anonymizer/Test/Model/Bridge/Entity/QuoteAddress.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($quoteAddressId)
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_QuoteAddress $bridge */
49 49
         $bridge = Mage::getModel('integernet_anonymizer/bridge_entity_address_quoteAddress');
Please login to merge, or discard this patch.
code/community/IntegerNet/Anonymizer/Test/Model/Bridge/Entity/Abstract.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      * @param $expected
15 15
      */
16 16
     protected function _testGetValues(IntegerNet_Anonymizer_Model_Bridge_Entity_Abstract $bridge,
17
-                                      Mage_Core_Model_Abstract $model, Varien_Object $expected)
17
+                                        Mage_Core_Model_Abstract $model, Varien_Object $expected)
18 18
     {
19 19
         $bridge->setRawData($model->getData());
20 20
         $this->assertEquals($expected['identifier'], $bridge->getIdentifier(), 'Identifier');
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($quoteAddressId)
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_QuoteAddress $bridge */
49 49
         $bridge = Mage::getModel('integernet_anonymizer/bridge_entity_address_quoteAddress');
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
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     public function testUpdateValues($customerId)
44 44
     {
45 45
         static $changedEmail = '[email protected]',
46
-               $changedMiddlename = 'trouble';
46
+                $changedMiddlename = 'trouble';
47 47
 
48 48
         /** @var IntegerNet_Anonymizer_Model_Bridge_Entity_Customer $bridge */
49 49
         $bridge = Mage::getModel('integernet_anonymizer/bridge_entity_customer');
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($quoteAddressId)
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_QuoteAddress $bridge */
49 49
         $bridge = Mage::getModel('integernet_anonymizer/bridge_entity_address_quoteAddress');
Please login to merge, or discard this patch.
test/IntegerNet/Anonymizer/AnonymizerTest.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
         $provider->expects($this->exactly(2))->method('getFakerData')
54 54
             ->withConsecutive(
55 55
                 array('email', '[email protected]|[email protected]', true),
56
-                array('name',  '[email protected]|Mr. Email',         false));
56
+                array('name', '[email protected]|Mr. Email', false));
57 57
 
58 58
         $anonymizer = new Anonymizer($provider, 'de_DE');
59 59
         $anonymizer->anonymize([new AnonymizableMock(['email' => '[email protected]', 'name' => 'Mr. Email'], 'email')]);
@@ -65,18 +65,18 @@  discard block
 block discarded – undo
65 65
         return array(
66 66
             array(
67 67
                 'inputData' => array(
68
-                    new AnonymizableMock(['email' => '[email protected]',  'firstName' => 'Max',  'lastName' => 'Mustermann']),
69
-                    new AnonymizableMock(['email' => '[email protected]', 'firstName' => 'Max',  'lastName' => 'Mustermann']),
68
+                    new AnonymizableMock(['email' => '[email protected]', 'firstName' => 'Max', 'lastName' => 'Mustermann']),
69
+                    new AnonymizableMock(['email' => '[email protected]', 'firstName' => 'Max', 'lastName' => 'Mustermann']),
70 70
                     new AnonymizableMock(['email' => '[email protected]', 'firstName' => 'Maxi', 'lastName' => 'Musterfrau']),
71
-                    new AnonymizableMock(['email' => '[email protected]',  'firstName' => 'Max',  'lastName' => 'Mustermann', 'streetAddress' => 'Musterstraße 42']),
72
-                    new AnonymizableMock(['email' => '[email protected]',  'firstName' => 'Max',  'lastName' => 'Mustermann'], null, false),
71
+                    new AnonymizableMock(['email' => '[email protected]', 'firstName' => 'Max', 'lastName' => 'Mustermann', 'streetAddress' => 'Musterstraße 42']),
72
+                    new AnonymizableMock(['email' => '[email protected]', 'firstName' => 'Max', 'lastName' => 'Mustermann'], null, false),
73 73
                 ),
74 74
                 'expectedValues' => array(
75
-                    '[email protected]',  '[email protected]',  '[email protected]',
75
+                    '[email protected]', '[email protected]', '[email protected]',
76 76
                     '[email protected]', '[email protected]', '[email protected]',
77 77
                     '[email protected]', '[email protected]', '[email protected]',
78
-                    '[email protected]',  '[email protected]',  '[email protected]', '[email protected]',
79
-                    '[email protected]',  'Max',  'Mustermann',
78
+                    '[email protected]', '[email protected]', '[email protected]', '[email protected]',
79
+                    '[email protected]', 'Max', 'Mustermann',
80 80
                 )
81 81
             )
82 82
         );
Please login to merge, or discard this patch.