Completed
Pull Request — develop (#739)
by Robbie
04:54
created
src/N98/Magento/Command/Installer/InstallCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
 
205 205
             if ($input->getOption('magentoVersion')) {
206 206
                 $type = $input->getOption('magentoVersion');
207
-                if ($type !== (string)(int)$type) {
207
+                if ($type !== (string) (int) $type) {
208 208
                     $type = $this->getPackageNumberByName($type);
209 209
                 }
210 210
             } elseif ($input->getOption('magentoVersionByName')) {
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
     private function getPackageNumberByName($name)
241 241
     {
242 242
         // directly filter integer strings
243
-        if ($name === (string)(int)$name) {
243
+        if ($name === (string) (int) $name) {
244 244
             return (int) $name;
245 245
         }
246 246
 
Please login to merge, or discard this patch.
src/N98/Magento/Command/MagentoConnect/ListExtensionsCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,14 +56,14 @@
 block discarded – undo
56 56
                             $matches[2],
57 57
                             $matches[3],
58 58
                         );
59
-                        if(isset($matches[4]) && isset($matches[5])) {
59
+                        if (isset($matches[4]) && isset($matches[5])) {
60 60
                             $table[] = array(
61 61
                                  $matches[1],
62 62
                                  $matches[4],
63 63
                                  $matches[5],
64 64
                             );
65 65
                         }
66
-                        if(isset($matches[6]) && isset($matches[7])) {
66
+                        if (isset($matches[6]) && isset($matches[7])) {
67 67
                             $table[] = array(
68 68
                                 $matches[1],
69 69
                                 $matches[6],
Please login to merge, or discard this patch.
src/N98/Magento/Command/System/Cron/AbstractCronCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@
 block discarded – undo
16 16
         // Get job configuration from XML and database. Expression priority is given to the database.
17 17
         $config = \Mage::getConfig();
18 18
         $jobs = array_merge(
19
-            (array)$config->getNode('crontab/jobs')->children(),
20
-            (array)$config->getNode('default/crontab/jobs')->children()
19
+            (array) $config->getNode('crontab/jobs')->children(),
20
+            (array) $config->getNode('default/crontab/jobs')->children()
21 21
         );
22 22
 
23 23
         foreach ($jobs as $job) {
Please login to merge, or discard this patch.