Completed
Pull Request — develop (#6)
by Carlo
02:24
created
magefix/src/Magefix/Fixture/Builder/ConfigurableProduct.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
                     [
92 92
                         'attribute_id' => $usedProductAttributeId,
93 93
                         'label' => $product->getAttributeText($code),
94
-                        'value_index' => (int)$product->getData($code),
94
+                        'value_index' => (int) $product->getData($code),
95 95
                         'is_percent' => 0,
96 96
                         'pricing_value' => $product->getPrice(),
97 97
                         'simple_product_id' => $product->getId()
Please login to merge, or discard this patch.
magefix/src/Magefix/Fixtures/RegistryIterator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -228,7 +228,7 @@
 block discarded – undo
228 228
      */
229 229
     protected static function _deleteAndUnregisterFixture(Mage_Core_Model_Abstract $model, $fixtureType, $entry, $key)
230 230
     {
231
-        $fixture = $model->load((int)$entry);
231
+        $fixture = $model->load((int) $entry);
232 232
         $fixture->delete();
233 233
         FixtureBuilder::unregister($key);
234 234
 
Please login to merge, or discard this patch.
magefix/src/Magefix/Fixture/Builder/Category.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
             throw new NullCategoryParentId('Category fixture require parent_id. Check fixture yaml file.');
22 22
         }
23 23
 
24
-        $parentCategory = $this->_getMageModel()->load((int)$fixtureData['parent_id']);
24
+        $parentCategory = $this->_getMageModel()->load((int) $fixtureData['parent_id']);
25 25
         $parentCategoryPath = $parentCategory->getPath();
26 26
         unset($fixtureData['parent_id']);
27 27
         $fixture = $this->_getMageModel()->setData($fixtureData);
Please login to merge, or discard this patch.