Completed
Push — develop ( 646b61...a908d0 )
by Tom
04:59
created
src/N98/Magento/Command/Eav/Attribute/Create/DummyValues.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -220,11 +220,11 @@
 block discarded – undo
220 220
     public static function getValueTypeList()
221 221
     {
222 222
         return array(
223
-              'int'      => 'int',
224
-              'string'   => 'string',
225
-              'color'    => 'color',
226
-              'size'     => 'size',
227
-              'designer' => 'designer',
223
+                'int'      => 'int',
224
+                'string'   => 'string',
225
+                'color'    => 'color',
226
+                'size'     => 'size',
227
+                'designer' => 'designer',
228 228
         );
229 229
     }
230 230
 
Please login to merge, or discard this patch.
src/N98/Magento/Command/Eav/Attribute/Create/DummyCommand.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -25,10 +25,10 @@  discard block
 block discarded – undo
25 25
 - en_GB
26 26
 HELP;
27 27
         $this->setName('eav:attribute:create-dummy-values')->addArgument('locale', InputArgument::OPTIONAL, 'Locale')
28
-             ->addArgument('attribute-id', InputArgument::OPTIONAL, 'Attribute ID to add values')
29
-             ->addArgument('values-type', InputArgument::OPTIONAL, 'Types of Values to create (default int)')
30
-             ->addArgument('values-number', InputArgument::OPTIONAL, 'Number of Values to create (default 1)')
31
-             ->setDescription('Create a dummy values for dropdown attributes')->setHelp($help);
28
+                ->addArgument('attribute-id', InputArgument::OPTIONAL, 'Attribute ID to add values')
29
+                ->addArgument('values-type', InputArgument::OPTIONAL, 'Types of Values to create (default int)')
30
+                ->addArgument('values-number', InputArgument::OPTIONAL, 'Number of Values to create (default 1)')
31
+                ->setDescription('Create a dummy values for dropdown attributes')->setHelp($help);
32 32
     }
33 33
 
34 34
     /**
@@ -88,9 +88,9 @@  discard block
 block discarded – undo
88 88
         // Attribute ID
89 89
         if (is_null($input->getArgument('attribute-id'))) {
90 90
             $attribute_code = Mage::getModel('eav/entity_attribute')->getCollection()->addFieldToSelect('*')
91
-                                  ->addFieldToFilter('entity_type_id', array('eq' => 4))
92
-                                  ->addFieldToFilter('backend_type', array('in' => array('int')))
93
-                                  ->setOrder('attribute_id', 'ASC');
91
+                                    ->addFieldToFilter('entity_type_id', array('eq' => 4))
92
+                                    ->addFieldToFilter('backend_type', array('in' => array('int')))
93
+                                    ->setOrder('attribute_id', 'ASC');
94 94
             $attribute_codes = array();
95 95
 
96 96
             foreach ($attribute_code as $item) {
Please login to merge, or discard this patch.