Completed
Push — develop ( 27dcf1...609d31 )
by Tom
09:41 queued 04:06
created
src/N98/Magento/Command/Cache/ListCommand.php 1 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/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/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 1 patch
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.
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.
src/N98/Magento/Command/Developer/Module/ListCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
             // First index is (probably always) vendor
80 80
             $moduleNameData = explode('_', $moduleName);
81 81
 
82
-            if (! is_null($vendor) && strtolower($moduleNameData[0]) !== strtolower($vendor)) {
82
+            if (!is_null($vendor) && strtolower($moduleNameData[0]) !== strtolower($vendor)) {
83 83
                 continue;
84 84
             }
85 85
 
Please login to merge, or discard this patch.
src/N98/Magento/Command/Installer/SubCommand/SelectMagentoVersion.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
             } elseif ($this->input->getOption('magentoVersionByName')) {
43 43
                 foreach ($this->commandConfig['magento-packages'] as $key => $package) {
44 44
                     if ($package['name'] == $this->input->getOption('magentoVersionByName')) {
45
-                        $type = $key+1;
45
+                        $type = $key + 1;
46 46
                         break;
47 47
                     }
48 48
                 }
Please login to merge, or discard this patch.
src/N98/Magento/Command/ScriptCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@
 block discarded – undo
171 171
                 if (isset($parts[1])) {
172 172
                     $value = $parts[1];
173 173
                 }
174
-                $this->scriptVars['${' . $variable. '}'] = $value;
174
+                $this->scriptVars['${' . $variable . '}'] = $value;
175 175
             }
176 176
         }
177 177
     }
Please login to merge, or discard this patch.
src/N98/Magento/Command/SelfUpdateCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     protected function execute(InputInterface $input, OutputInterface $output)
47 47
     {
48 48
         $localFilename = realpath($_SERVER['argv'][0]) ?: $_SERVER['argv'][0];
49
-        $tempFilename = dirname($localFilename) . '/' . basename($localFilename, '.phar').'-temp.phar';
49
+        $tempFilename = dirname($localFilename) . '/' . basename($localFilename, '.phar') . '-temp.phar';
50 50
 
51 51
         // check for permissions in local filesystem before start connection process
52 52
         if (!is_writable($tempDirectory = dirname($tempFilename))) {
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
                 if (!$e instanceof \UnexpectedValueException && !$e instanceof \PharException) {
129 129
                     throw $e;
130 130
                 }
131
-                $output->writeln('<error>The download is corrupted ('.$e->getMessage().').</error>');
131
+                $output->writeln('<error>The download is corrupted (' . $e->getMessage() . ').</error>');
132 132
                 $output->writeln('<error>Please re-run the self-update command to try again.</error>');
133 133
             }
134 134
         } else {
Please login to merge, or discard this patch.