Completed
Pull Request — develop (#862)
by Luke
04:58
created
src/N98/Magento/Command/Eav/Attribute/Create/DummyCommand.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -233,10 +233,10 @@  discard block
 block discarded – undo
233 233
 - en_GB
234 234
 HELP;
235 235
         $this->setName('eav:attribute:create-dummy-values')->addArgument('locale', InputArgument::OPTIONAL, 'Locale')
236
-             ->addArgument('attribute-id', InputArgument::OPTIONAL, 'Attribute ID to add values')
237
-             ->addArgument('values-type', InputArgument::OPTIONAL, 'Types of Values to create (default int)')
238
-             ->addArgument('values-number', InputArgument::OPTIONAL, 'Number of Values to create (default 1)')
239
-             ->setDescription('Create a dummy values for dropdown attributes')->setHelp($help);
236
+                ->addArgument('attribute-id', InputArgument::OPTIONAL, 'Attribute ID to add values')
237
+                ->addArgument('values-type', InputArgument::OPTIONAL, 'Types of Values to create (default int)')
238
+                ->addArgument('values-number', InputArgument::OPTIONAL, 'Number of Values to create (default 1)')
239
+                ->setDescription('Create a dummy values for dropdown attributes')->setHelp($help);
240 240
     }
241 241
 
242 242
     /**
@@ -296,9 +296,9 @@  discard block
 block discarded – undo
296 296
         // Attribute ID
297 297
         if(is_null($input->getArgument('attribute-id'))) {
298 298
             $attribute_code = Mage::getModel('eav/entity_attribute')->getCollection()->addFieldToSelect('*')
299
-                                  ->addFieldToFilter('entity_type_id', array('eq' => 4))
300
-                                  ->addFieldToFilter('backend_type', array('in' => array('int')))
301
-                                  ->setOrder('attribute_id', 'ASC');
299
+                                    ->addFieldToFilter('entity_type_id', array('eq' => 4))
300
+                                    ->addFieldToFilter('backend_type', array('in' => array('int')))
301
+                                    ->setOrder('attribute_id', 'ASC');
302 302
             $_attribute_codes = array();
303 303
 
304 304
             foreach($attribute_code as $item) {
Please login to merge, or discard this patch.
src/N98/Magento/Command/Eav/Attribute/Create/DummyValues.php 2 patches
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.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
         'Atm Anthony Thomas Melillo', 'Aurelia Probiotic Skincare', 'Aurelie Bidermann', 'Ava Adore', 'Avant Toi',
34 34
         'Avelon', 'Awake', 'B May', 'Badgley Mischka', 'Baja East', 'Bakel', 'Balenciaga Eyewear', 'Balenciaga Vintage',
35 35
         'Ballin', 'Bally', 'Balmain', 'Bao Bao Issey Miyake', 'Barbara Bui', 'Barbara Casasola', 'Barbara I Gongini',
36
-        'Bark', 'Barn\'s', 'Barrie',  'Bassike', 'Bata', 'Bazar Deluxe', 'Bea Bongiasca', 'Beau Souci', 'Becca',
36
+        'Bark', 'Barn\'s', 'Barrie', 'Bassike', 'Bata', 'Bazar Deluxe', 'Bea Bongiasca', 'Beau Souci', 'Becca',
37 37
         'Beek..', 'Bella Freud', 'Belstaff', 'Bernhard Willhelm', 'Beth Orduna', 'Bhindi Jewelers', 'Bianca Spender',
38 38
         'Biba Vintage', 'Bibi Van Der Velden', 'Bintthani', 'Bionda Castana', 'Birkenstock', 'Bjorg', 'Blancha',
39 39
         'Blk Dnm', 'Blugirl', 'Blumarine', 'Boboutic', 'Borbonese', 'Bottega Veneta Eyewear', 'Boutique Moschino',
@@ -136,14 +136,14 @@  discard block
 block discarded – undo
136 136
         'Melissa + Jeremy Scott', 'Melissa Joy Manning', 'Melissa Odabash', 'Mes Demoiselles', 'Miahatami', 'Miansai',
137 137
         'Michael Kors', 'Michael Michael Kors', 'Michael Schmidt', 'Michel Vivien', 'Micol Ragni', 'Mih Jeans',
138 138
         'Mihara Yasuhiro', 'Milly', 'Minimarket', 'Minjukim', 'Minna Parikka', 'Mira Mikati', 'Missoni',
139
-        'Missoni Vintage',  'Miu Miu Eyewear', 'Mm6 Maison Margiela', 'Moa Master Of Arts',  'Moeva', 'Monan',
140
-        'Moncler', 'Moncler Gamme Rouge', 'Moncler Grenoble', 'Moncler X Erdem',  'Monday Active', 'Monica Sordo',
139
+        'Missoni Vintage', 'Miu Miu Eyewear', 'Mm6 Maison Margiela', 'Moa Master Of Arts', 'Moeva', 'Monan',
140
+        'Moncler', 'Moncler Gamme Rouge', 'Moncler Grenoble', 'Moncler X Erdem', 'Monday Active', 'Monica Sordo',
141 141
         'Monies', 'Monique Lhuillier', 'Monocle Eyewear', 'Monreal London', 'Moo Piyasombatkul', 'Moohong',
142 142
         'Moratorium', 'Moreau', 'Moschino', 'Moschino Vintage', 'Mother', 'Mother Of Pearl', 'Mou', 'Movitra',
143 143
         'Mr & Mrs Italy', 'MSGM', 'Mua Mua', 'Mugler', 'Murmur', 'Musée', 'Muubaa', 'Muveil', 'Mykita',
144 144
         'Myriam Schaefer', 'Myswear', 'N.Peal', 'Nafsika Skourti', 'Narciso Rodriguez', 'Nasir Mazhar',
145 145
         'Natasha Collis', 'Natasha Zinko', 'Nathalie Trad', 'Natura Bisse', 'Neil Barrett', 'Nektar De Stagni',
146
-        'Neuw', 'Nevermind',  'New Balance', 'Newbark', 'Nicholas Kirkwood', 'Nicole Miller', 'Nicopanda',
146
+        'Neuw', 'Nevermind', 'New Balance', 'Newbark', 'Nicholas Kirkwood', 'Nicole Miller', 'Nicopanda',
147 147
         'Night Market', 'Nike', 'Nikos Koulis', 'Nili Lotan', 'Nina Ricci', 'Nina Ricci Vintage', 'Nixon', 'Niza Huang',
148 148
         'Nº21', 'Nobody Denim', 'Nomia', 'Noor Fares', 'Noritamy', 'Norma Kamali', 'Norse Projects', 'NSF', 'Nuface',
149 149
         'O&M', 'Oamc', 'Obey', 'Occulter', 'Odeeh', 'Odeur', 'Of Rare Origin', 'Officine Creative', 'Off-White',
Please login to merge, or discard this patch.