Completed
Push — develop ( d34a3a...96078f )
by Tom
26:43 queued 17:21
created
src/N98/Magento/Command/System/Setup/CompareVersionsCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     protected function execute(InputInterface $input, OutputInterface $output)
60 60
     {
61 61
         $time = microtime(true);
62
-        $ignoreDataUpdate   = $input->getOption('ignore-data');
62
+        $ignoreDataUpdate = $input->getOption('ignore-data');
63 63
 
64 64
         $headers = array('Setup', 'Module', 'DB', 'Data', 'Status');
65 65
         if ($ignoreDataUpdate) {
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
                 return $a['Status'] !== 'OK';
107 107
             });
108 108
 
109
-            array_walk($table, function (&$row) {
109
+            array_walk($table, function(&$row) {
110 110
                 $status             = $row['Status'];
111 111
                 $availableStatus    = array('OK' => 'info', 'Error' => 'error');
112 112
                 $statusString       = sprintf(
Please login to merge, or discard this patch.
src/N98/Magento/Command/System/Url/ListCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
     {
76 76
         $this->storeManager = $storeManager;
77 77
         $this->sitemapCategoryCollection = $sitemapCategoryCollection;
78
-        $this->sitemapProductCollection= $sitemapProductCollection;
78
+        $this->sitemapProductCollection = $sitemapProductCollection;
79 79
         $this->sitemapPageCollection = $sitemapPageCollection;
80 80
     }
81 81
 
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 
100 100
                 try {
101 101
                     $currentStore = $this->storeManager->getStore($storeId);
102
-                } catch(\Exception $e) {
102
+                } catch (\Exception $e) {
103 103
                     throw new \RuntimeException("Store with id {$storeId} doesn´t exist");
104 104
                 }
105 105
 
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
 
150 150
                     $parts = parse_url($url);
151 151
                     foreach ($parts as $key => $value) {
152
-                        $line = str_replace('{'.$key.'}', $value, $line);
152
+                        $line = str_replace('{' . $key . '}', $value, $line);
153 153
                     }
154 154
 
155 155
                     // ... and output
Please login to merge, or discard this patch.
src/N98/Util/Console/Helper/ComposerHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
         $process = ProcessBuilder::create($commandArgs)->getProcess();
30 30
         $process->setInput($this->input);
31 31
         $process->setTimeout(3600);
32
-        $process->run(function ($type, $buffer) use ($silent) {
32
+        $process->run(function($type, $buffer) use ($silent) {
33 33
             if ($silent) {
34 34
                 return;
35 35
             }
Please login to merge, or discard this patch.
src/N98/Util/Console/Helper/InjectionHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
             $argumentsToInject[] = $objectManager->get($parameter[1]);
33 33
         }
34 34
 
35
-        call_user_func_array([ $object, $methodName ], $argumentsToInject);
35
+        call_user_func_array([$object, $methodName], $argumentsToInject);
36 36
     }
37 37
 
38 38
     /**
Please login to merge, or discard this patch.
src/bootstrap.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -16,11 +16,11 @@
 block discarded – undo
16 16
          */
17 17
         public static function getLoader()
18 18
         {
19
-            if ((!$loader = \N98_Magerun_Bootstrap::includeIfExists(__DIR__.'/../vendor/autoload.php'))
20
-                && (!$loader = \N98_Magerun_Bootstrap::includeIfExists(__DIR__.'/../../../autoload.php'))) {
21
-                throw new \ErrorException('You must set up the project dependencies, run the following commands:'.PHP_EOL.
22
-                    'curl -s http://getcomposer.org/installer | php'.PHP_EOL.
23
-                    'php composer.phar install'.PHP_EOL);
19
+            if ((!$loader = \N98_Magerun_Bootstrap::includeIfExists(__DIR__ . '/../vendor/autoload.php'))
20
+                && (!$loader = \N98_Magerun_Bootstrap::includeIfExists(__DIR__ . '/../../../autoload.php'))) {
21
+                throw new \ErrorException('You must set up the project dependencies, run the following commands:' . PHP_EOL .
22
+                    'curl -s http://getcomposer.org/installer | php' . PHP_EOL .
23
+                    'php composer.phar install' . PHP_EOL);
24 24
             }
25 25
 
26 26
             return $loader;
Please login to merge, or discard this patch.
tests/N98/Magento/Command/Cache/ListCommandTest.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
         $disabledCacheTypes = 0;
43 43
 
44 44
         foreach ($cacheTypes as $cacheType) {
45
-            if (! $cacheType->getStatus()) {
45
+            if (!$cacheType->getStatus()) {
46 46
                 $disabledCacheTypes++;
47 47
             }
48 48
         }
Please login to merge, or discard this patch.
tests/N98/Util/FilesystemTest.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -219,11 +219,11 @@
 block discarded – undo
219 219
     public static function convertedBytesProvider()
220 220
     {
221 221
         return array(
222
-            array(20000000,     2,  '19.07M'),
223
-            array(20000000,     3,  '19.073M'),
224
-            array(2000000000,   2,  '1.86G'),
225
-            array(2,            2,  '2.00B'),
226
-            array(2048,         2,  '2.00K'),
222
+            array(20000000, 2, '19.07M'),
223
+            array(20000000, 3, '19.073M'),
224
+            array(2000000000, 2, '1.86G'),
225
+            array(2, 2, '2.00B'),
226
+            array(2048, 2, '2.00K'),
227 227
         );
228 228
     }
229 229
 }
Please login to merge, or discard this patch.
Magento/Command/Developer/Module/Create/SubCommand/CreateComposerFile.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.
N98/Magento/Command/Developer/Module/Create/SubCommand/CreateModmanFile.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.