Completed
Push — develop ( 40edc3...e8035b )
by Tom
04:30
created
src/N98/Magento/Command/System/Setup/IncrementalCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -260,8 +260,8 @@  discard block
 block discarded – undo
260 260
             $config_ver = $this->_getConfiguredVersionFromResourceObject($setupResource);
261 261
 
262 262
             if (
263
-                (string)$config_ver == (string)$db_ver && //structure
264
-                (string)$config_ver == (string)$db_data_ver //data
263
+                (string) $config_ver == (string) $db_ver && //structure
264
+                (string) $config_ver == (string) $db_data_ver //data
265 265
             ) {
266 266
                 continue;
267 267
             }
@@ -321,8 +321,8 @@  discard block
 block discarded – undo
321 321
 
322 322
             $args = array(
323 323
                 '',
324
-                (string)$dbVersion,
325
-                (string)$configVersion,
324
+                (string) $dbVersion,
325
+                (string) $configVersion,
326 326
             );
327 327
 
328 328
             $args[0] = $dbVersion
Please login to merge, or discard this patch.
src/N98/Magento/Command/Database/Maintain/CheckTablesCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -209,7 +209,7 @@
 block discarded – undo
209 209
             array(
210 210
                 'table'     => $tableName,
211 211
                 'operation' => 'ENGINE ' . $engine,
212
-                'type'      => sprintf('%15s rows', (string)$affectedRows),
212
+                'type'      => sprintf('%15s rows', (string) $affectedRows),
213 213
                 'status'    => sprintf('%.3f secs', microtime(true) - $start),
214 214
             )
215 215
         );
Please login to merge, or discard this patch.
src/N98/Util/Console/Helper/DatabaseHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -258,7 +258,7 @@
 block discarded – undo
258 258
                         $definitions,
259 259
                         $resolved
260 260
                     );
261
-                    $resolvedList    = array_merge($resolvedList, $tables);
261
+                    $resolvedList = array_merge($resolvedList, $tables);
262 262
                 }
263 263
                 continue;
264 264
             }
Please login to merge, or discard this patch.
src/N98/Magento/Command/Installer/InstallCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
 
241 241
             if ($input->getOption('magentoVersion')) {
242 242
                 $type = $input->getOption('magentoVersion');
243
-                if ($type !== (string)(int)$type) {
243
+                if ($type !== (string) (int) $type) {
244 244
                     $type = $this->getPackageNumberByName($type);
245 245
                 }
246 246
             } elseif ($input->getOption('magentoVersionByName')) {
@@ -277,8 +277,8 @@  discard block
 block discarded – undo
277 277
     private function getPackageNumberByName($name)
278 278
     {
279 279
         // directly filter integer strings
280
-        if ($name === (string)(int)$name) {
281
-            return (int)$name;
280
+        if ($name === (string) (int) $name) {
281
+            return (int) $name;
282 282
         }
283 283
 
284 284
         $magentoPackages = $this->commandConfig['magento-packages'];
Please login to merge, or discard this patch.
build/bin/files.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -17,8 +17,8 @@  discard block
 block discarded – undo
17 17
 ]
18 18
 JSON_URLS;
19 19
 
20
-$urlHeaders = function($url) {
21
-    return function($name = null) use ($url) {
20
+$urlHeaders = function ($url) {
21
+    return function ($name = null) use ($url) {
22 22
         static $response;
23 23
         $response || $response = shell_exec(sprintf('curl -sI %s', escapeshellarg($url)));
24 24
 
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     };
36 36
 };
37 37
 
38
-$box = function($title) {
38
+$box = function ($title) {
39 39
     $len    = strlen($title);
40 40
     $buffer = str_repeat("=", $len + 4);
41 41
     $buffer .= "\n= $title =\n";
@@ -43,13 +43,13 @@  discard block
 block discarded – undo
43 43
     return $buffer . "\n";
44 44
 };
45 45
 
46
-$bytes = function($count) {
46
+$bytes = function ($count) {
47 47
     return sprintf('%s (bytes)', number_format($count, 0, '.', ' '));
48 48
 };
49 49
 
50 50
 $urls = json_decode($urls, false, 16, null);
51 51
 
52
-$main = function($urls) use ($urlHeaders, $box, $bytes)
52
+$main = function ($urls) use ($urlHeaders, $box, $bytes)
53 53
 {
54 54
     foreach ($urls as $url) {
55 55
         $title = sprintf("%s: %s", $url->channel, $url->url);
Please login to merge, or discard this patch.