Completed
Push — master ( ad0611...abd676 )
by Tom
09:08 queued 04:30
created
src/N98/Magento/Command/AbstractMagentoStoreConfigCommand.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -155,8 +155,8 @@
 block discarded – undo
155 155
         $this->getApplication()->run($input, new NullOutput());
156 156
 
157 157
         $comment = '<comment>' . $this->toggleComment . '</comment> '
158
-                 . '<info>' . (!$isFalse ? $this->falseName : $this->trueName) . '</info>'
159
-                 . ($runOnStoreView ? ' <comment>for store</comment> <info>' . $store->getCode() . '</info>' : '');
158
+                    . '<info>' . (!$isFalse ? $this->falseName : $this->trueName) . '</info>'
159
+                    . ($runOnStoreView ? ' <comment>for store</comment> <info>' . $store->getCode() . '</info>' : '');
160 160
         $output->writeln($comment);
161 161
 
162 162
         $this->_afterSave($store, $isFalse);
Please login to merge, or discard this patch.
src/N98/Magento/Command/Cache/ListCommand.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
         }
83 83
 
84 84
         $this->getHelper('table')
85
-             ->setHeaders(array('Name', 'Type', 'Enabled'))
86
-             ->renderByFormat($output, $tableData, $input->getOption('format'));
85
+                ->setHeaders(array('Name', 'Type', 'Enabled'))
86
+                ->renderByFormat($output, $tableData, $input->getOption('format'));
87 87
     }
88 88
 }
Please login to merge, or discard this patch.
src/N98/Magento/Command/Config/DeleteCommand.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
                     $collection->addFieldToFilter(
64 64
                         'scope',
65 65
                         array(
66
-                             'eq' => $scopeId
66
+                                'eq' => $scopeId
67 67
                         )
68 68
                     );
69 69
                 }
Please login to merge, or discard this patch.
src/N98/Magento/Command/Database/ConsoleCommand.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,9 +26,9 @@
 block discarded – undo
26 26
         $this->detectDbSettings($output);
27 27
 
28 28
         $descriptorSpec = array(
29
-           0 => STDIN,
30
-           1 => STDOUT,
31
-           2 => STDERR
29
+            0 => STDIN,
30
+            1 => STDOUT,
31
+            2 => STDERR
32 32
         );
33 33
 
34 34
         $exec = 'mysql ' . $this->getHelper('database')->getMysqlClientToolConnectionString();
Please login to merge, or discard this patch.
src/N98/Magento/Command/Developer/Module/Observer/ListCommand.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -89,8 +89,8 @@  discard block
 block discarded – undo
89 89
         }
90 90
 
91 91
         $observerConfig = $this->getObjectManager()
92
-                          ->get('\Magento\Framework\Event\Config\Reader')
93
-                          ->read($area);
92
+                            ->get('\Magento\Framework\Event\Config\Reader')
93
+                            ->read($area);
94 94
 
95 95
         if (true === $input->getOption('sort')) {
96 96
             /**
@@ -125,8 +125,8 @@  discard block
 block discarded – undo
125 125
 
126 126
         // @todo Output is a bit ugly!?
127 127
         $this->getHelper('table')
128
-             ->setHeaders(['Event', 'Observer name', 'Fires'])
129
-             ->setRows($table)
130
-             ->renderByFormat($output, $table, $input->getOption('format'));
128
+                ->setHeaders(['Event', 'Observer name', 'Fires'])
129
+                ->setRows($table)
130
+                ->renderByFormat($output, $table, $input->getOption('format'));
131 131
     }
132 132
 }
Please login to merge, or discard this patch.
src/N98/Magento/Command/Installer/SubCommand/PreCheckPhp.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,8 +44,8 @@
 block discarded – undo
44 44
     {
45 45
         if (extension_loaded('xdebug') && xdebug_is_enabled() && ini_get('xdebug.max_nesting_level') < 200) {
46 46
             $errorMessage = 'Please change PHP ini setting "xdebug.max_nesting_level". '
47
-                          . 'Please change it to a value >= 200. '
48
-                          . 'Your current value is ' . ini_get('xdebug.max_nesting_level');
47
+                            . 'Please change it to a value >= 200. '
48
+                            . 'Your current value is ' . ini_get('xdebug.max_nesting_level');
49 49
             throw new \RuntimeException($errorMessage);
50 50
         }
51 51
     }
Please login to merge, or discard this patch.
src/N98/Magento/Command/System/InfoCommand.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -151,32 +151,32 @@
 block discarded – undo
151 151
     protected function addProductCount()
152 152
     {
153 153
         $this->infos['Product Count'] = $this->productFactory
154
-                                             ->create()
155
-                                             ->getCollection()
156
-                                             ->getSize();
154
+                                                ->create()
155
+                                                ->getCollection()
156
+                                                ->getSize();
157 157
     }
158 158
 
159 159
     protected function addCustomerCount()
160 160
     {
161 161
         $this->infos['Customer Count'] = $this->customerFactory->create()
162
-                                              ->getCollection()
163
-                                              ->getSize();
162
+                                                ->getCollection()
163
+                                                ->getSize();
164 164
     }
165 165
 
166 166
     protected function addCategoryCount()
167 167
     {
168 168
         $this->infos['Category Count'] = $this->categoryFactory
169
-                                              ->create()
170
-                                              ->getCollection()
171
-                                              ->getSize();
169
+                                                ->create()
170
+                                                ->getCollection()
171
+                                                ->getSize();
172 172
     }
173 173
 
174 174
     protected function addAttributeCount()
175 175
     {
176 176
         $this->infos['Attribute Count'] = $this->attributeFactory
177
-                                               ->create()
178
-                                               ->getCollection()
179
-                                               ->getSize();
177
+                                                ->create()
178
+                                                ->getCollection()
179
+                                                ->getSize();
180 180
     }
181 181
 
182 182
     protected function addCacheInfos()
Please login to merge, or discard this patch.
tests/N98/Magento/Command/Config/DeleteCommandTest.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -47,11 +47,11 @@  discard block
 block discarded – undo
47 47
             $commandTester = new CommandTester($setCommand);
48 48
             $commandTester->execute(
49 49
                 array(
50
-                     'command'    => $setCommand->getName(),
51
-                     'path'       => 'n98_magerun/foo/bar',
52
-                     '--scope'    => 'stores',
53
-                     '--scope-id'  => $store->getId(),
54
-                     'value'      => 'store-' . $store->getId(),
50
+                        'command'    => $setCommand->getName(),
51
+                        'path'       => 'n98_magerun/foo/bar',
52
+                        '--scope'    => 'stores',
53
+                        '--scope-id'  => $store->getId(),
54
+                        'value'      => 'store-' . $store->getId(),
55 55
                 )
56 56
             );
57 57
         }
@@ -59,9 +59,9 @@  discard block
 block discarded – undo
59 59
         $commandTester = new CommandTester($deleteCommand);
60 60
         $commandTester->execute(
61 61
             array(
62
-                 'command' => $deleteCommand->getName(),
63
-                 'path'    => 'n98_magerun/foo/bar',
64
-                 '--all'   => true,
62
+                    'command' => $deleteCommand->getName(),
63
+                    'path'    => 'n98_magerun/foo/bar',
64
+                    '--all'   => true,
65 65
             )
66 66
         );
67 67
 
Please login to merge, or discard this patch.
tests/N98/Magento/Command/Config/GetCommandTest.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -20,26 +20,26 @@  discard block
 block discarded – undo
20 20
         $commandTester = new CommandTester($setCommand);
21 21
         $commandTester->execute(
22 22
             array(
23
-                 'command' => $setCommand->getName(),
24
-                 'path'    => 'n98_magerun/foo/bar',
25
-                 'value'   => '1234',
23
+                    'command' => $setCommand->getName(),
24
+                    'path'    => 'n98_magerun/foo/bar',
25
+                    'value'   => '1234',
26 26
             )
27 27
         );
28 28
 
29 29
         $commandTester = new CommandTester($getCommand);
30 30
         $commandTester->execute(
31 31
             array(
32
-                 'command' => $getCommand->getName(),
33
-                 'path'    => 'n98_magerun/foo/bar',
32
+                    'command' => $getCommand->getName(),
33
+                    'path'    => 'n98_magerun/foo/bar',
34 34
             )
35 35
         );
36 36
         $this->assertContains('| n98_magerun/foo/bar | default | 0        | 1234  |', $commandTester->getDisplay());
37 37
 
38 38
         $commandTester->execute(
39 39
             array(
40
-                 'command'         => $getCommand->getName(),
41
-                 'path'            => 'n98_magerun/foo/bar',
42
-                 '--update-script' => true
40
+                    'command'         => $getCommand->getName(),
41
+                    'path'            => 'n98_magerun/foo/bar',
42
+                    '--update-script' => true
43 43
             )
44 44
         );
45 45
         $this->assertContains(
@@ -49,9 +49,9 @@  discard block
 block discarded – undo
49 49
 
50 50
         $commandTester->execute(
51 51
             array(
52
-                 'command'          => $getCommand->getName(),
53
-                 'path'             => 'n98_magerun/foo/bar',
54
-                 '--magerun-script' => true
52
+                    'command'          => $getCommand->getName(),
53
+                    'path'             => 'n98_magerun/foo/bar',
54
+                    '--magerun-script' => true
55 55
             )
56 56
         );
57 57
         $this->assertContains(
Please login to merge, or discard this patch.