Completed
Push — develop ( a787a3...20155f )
by Tom
04:25
created
tests/N98/Util/Console/Helper/DatabaseHelperTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace N98\Util\Console\Helper;
4 4
 
5
-use Symfony\Component\Console\Tester\CommandTester;
6 5
 use N98\Magento\Command\PHPUnit\TestCase;
7 6
 
8 7
 
Please login to merge, or discard this patch.
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 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
         foreach ($cacheTypes as $cacheType) {
74 74
 
75 75
             // If 'enabled' option is set, filter those who match
76
-            if (! is_null($input->getOption('enabled')) && $input->getOption('enabled') != $cacheType->getStatus()) {
76
+            if (!is_null($input->getOption('enabled')) && $input->getOption('enabled') != $cacheType->getStatus()) {
77 77
                 unset($cacheTypes[$cacheType->getId()]);
78 78
                 continue;
79 79
             }
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/AbstractShowCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@
 block discarded – undo
187 187
      */
188 188
     protected function formatVariables(array $vars)
189 189
     {
190
-        $rounding = (int)$this->_input->getOption('rounding');
190
+        $rounding = (int) $this->_input->getOption('rounding');
191 191
         if ($rounding > -1) {
192 192
             foreach ($vars as $k => &$v) {
193 193
                 if (true === $this->allowRounding($k)) {
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/Database/VariablesCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
             'max_write_lock_count'     => 1,
73 73
             'slave_max_allowed_packet' => 1,
74 74
         );
75
-        $isSize  = false !== strpos($name, '_size');
75
+        $isSize = false !== strpos($name, '_size');
76 76
 
77 77
         return $isSize || isset($toHuman[$name]);
78 78
     }
Please login to merge, or discard this patch.
Command/Developer/Module/Create/SubCommand/CreateAdditionalFiles.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
                     $this->getCommand()->getHelper('twig')->render($template, $this->config->getArray('twigVars'))
32 32
                 );
33 33
 
34
-                $this->output->writeln('<info>Created file: <comment>' .  $outFile .'<comment></info>');
34
+                $this->output->writeln('<info>Created file: <comment>' . $outFile . '<comment></info>');
35 35
             }
36 36
 
37 37
         }
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      *
52 52
      * @param Bootstrap $bootstrap
53 53
      * @param \Exception $exception
54
-     * @return bool
54
+     * @return boolean|null
55 55
      */
56 56
     public function catchException(Bootstrap $bootstrap, \Exception $exception)
57 57
     {
Please login to merge, or discard this patch.
N98/Magento/Command/Developer/Module/Create/SubCommand/CreateReadmeFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
             )
29 29
         );
30 30
 
31
-        $this->output->writeln('<info>Created file: <comment>' .  $outFile .'<comment></info>');
31
+        $this->output->writeln('<info>Created file: <comment>' . $outFile . '<comment></info>');
32 32
 
33 33
         return true;
34 34
     }
Please login to merge, or discard this patch.