Completed
Pull Request — develop (#1484)
by
unknown
28s
created
src/N98/Magento/Command/Database/StatusCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
         $diff = $now->diff($ago);
132 132
 
133 133
         $diff->w = floor($diff->d / 7);
134
-        $diff->d -= (int)$diff->w * 7;
134
+        $diff->d -= (int) $diff->w * 7;
135 135
 
136 136
         $string = ['y' => 'year', 'm' => 'month', 'h' => 'hour', 'i' => 'minute', 's' => 'second'];
137 137
         foreach ($string as $k => &$v) {
Please login to merge, or discard this patch.
src/N98/Magento/Application/ConfigLocator.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
      */
74 74
     public function getProjectConfigFile()
75 75
     {
76
-        if (!strlen((string)$this->magentoRootFolder)) {
76
+        if (!strlen((string) $this->magentoRootFolder)) {
77 77
             return;
78 78
         }
79 79
         $projectConfigFilePath = $this->magentoRootFolder . '/app/etc/' . $this->customConfigFilename;
Please login to merge, or discard this patch.
src/N98/Util/Filesystem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
     public static function humanFileSize($bytes, $decimals = 2)
135 135
     {
136 136
         $units = ['B', 'K', 'M', 'G', 'T', 'P', 'E', 'Z', 'Y'];
137
-        $factor = floor((strlen((string)$bytes) - 1) / 3);
137
+        $factor = floor((strlen((string) $bytes) - 1) / 3);
138 138
 
139 139
         return sprintf("%.{$decimals}f%s", $bytes / 1024 ** $factor, $units[$factor]);
140 140
     }
Please login to merge, or discard this patch.
src/N98/Magento/Command/Developer/Report/CountCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         $dir = Mage::getBaseDir('var') . DIRECTORY_SEPARATOR . 'report' . DIRECTORY_SEPARATOR;
37 37
         $count = $this->getFileCount($dir);
38 38
 
39
-        $output->writeln((string)$count);
39
+        $output->writeln((string) $count);
40 40
         return 0;
41 41
     }
42 42
 
Please login to merge, or discard this patch.
src/N98/Magento/Command/Cms/Block/ToggleCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
         }
65 65
         $newStatus = !$block->getIsActive();
66 66
         $block
67
-            ->setIsActive((int)$newStatus)
67
+            ->setIsActive((int) $newStatus)
68 68
             ->save();
69 69
         $output->writeln(sprintf(
70 70
             '<comment>Block</comment> <info>%s</info>',
Please login to merge, or discard this patch.