Completed
Push — develop ( a787a3...20155f )
by Tom
04:25
created
tests/N98/Magento/Command/Config/GetCommandTest.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -20,26 +20,26 @@  discard block
 block discarded – undo
20 20
         $commandTester = new CommandTester($setCommand);
21 21
         $commandTester->execute(
22 22
             array(
23
-                 'command' => $setCommand->getName(),
24
-                 'path'    => 'n98_magerun/foo/bar',
25
-                 'value'   => '1234',
23
+                    'command' => $setCommand->getName(),
24
+                    'path'    => 'n98_magerun/foo/bar',
25
+                    'value'   => '1234',
26 26
             )
27 27
         );
28 28
 
29 29
         $commandTester = new CommandTester($getCommand);
30 30
         $commandTester->execute(
31 31
             array(
32
-                 'command' => $getCommand->getName(),
33
-                 'path'    => 'n98_magerun/foo/bar',
32
+                    'command' => $getCommand->getName(),
33
+                    'path'    => 'n98_magerun/foo/bar',
34 34
             )
35 35
         );
36 36
         $this->assertContains('| n98_magerun/foo/bar | default | 0        | 1234  |', $commandTester->getDisplay());
37 37
 
38 38
         $commandTester->execute(
39 39
             array(
40
-                 'command'         => $getCommand->getName(),
41
-                 'path'            => 'n98_magerun/foo/bar',
42
-                 '--update-script' => true
40
+                    'command'         => $getCommand->getName(),
41
+                    'path'            => 'n98_magerun/foo/bar',
42
+                    '--update-script' => true
43 43
             )
44 44
         );
45 45
         $this->assertContains(
@@ -49,9 +49,9 @@  discard block
 block discarded – undo
49 49
 
50 50
         $commandTester->execute(
51 51
             array(
52
-                 'command'          => $getCommand->getName(),
53
-                 'path'             => 'n98_magerun/foo/bar',
54
-                 '--magerun-script' => true
52
+                    'command'          => $getCommand->getName(),
53
+                    'path'             => 'n98_magerun/foo/bar',
54
+                    '--magerun-script' => true
55 55
             )
56 56
         );
57 57
         $this->assertContains(
Please login to merge, or discard this patch.
tests/N98/Util/Console/Helper/Table/Renderer/RenderFactoryTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 
23 23
         $invalidFormat = $renderFactory->create('invalid_format');
24 24
         $this->assertFalse($invalidFormat);
25
-   }
25
+    }
26 26
 
27 27
 }
28 28
 
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.
src/N98/Magento/Command/CommandAware.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -9,6 +9,7 @@
 block discarded – undo
9 9
     /**
10 10
      * @param OutputInterface $output
11 11
      * @param array $rows
12
+     * @return void
12 13
      */
13 14
     public function render(OutputInterface $output, array $rows);
14 15
 }
Please login to merge, or discard this patch.
src/N98/Magento/Command/CommandConfigAware.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -9,6 +9,7 @@
 block discarded – undo
9 9
     /**
10 10
      * @param OutputInterface $output
11 11
      * @param array $rows
12
+     * @return void
12 13
      */
13 14
     public function render(OutputInterface $output, array $rows);
14 15
 }
Please login to merge, or discard this patch.
Command/Developer/Module/Create/SubCommand/CreateModuleConfigFile.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      *
52 52
      * @param Bootstrap $bootstrap
53 53
      * @param \Exception $exception
54
-     * @return bool
54
+     * @return boolean|null
55 55
      */
56 56
     public function catchException(Bootstrap $bootstrap, \Exception $exception)
57 57
     {
Please login to merge, or discard this 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.
Command/Developer/Module/Create/SubCommand/CreateModuleCrontabFile.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      *
52 52
      * @param Bootstrap $bootstrap
53 53
      * @param \Exception $exception
54
-     * @return bool
54
+     * @return boolean|null
55 55
      */
56 56
     public function catchException(Bootstrap $bootstrap, \Exception $exception)
57 57
     {
Please login to merge, or discard this 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.
Magento/Command/Developer/Module/Create/SubCommand/CreateModuleDiFile.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      *
52 52
      * @param Bootstrap $bootstrap
53 53
      * @param \Exception $exception
54
-     * @return bool
54
+     * @return boolean|null
55 55
      */
56 56
     public function catchException(Bootstrap $bootstrap, \Exception $exception)
57 57
     {
Please login to merge, or discard this 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.
Command/Developer/Module/Create/SubCommand/CreateModuleEventsFile.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      *
52 52
      * @param Bootstrap $bootstrap
53 53
      * @param \Exception $exception
54
-     * @return bool
54
+     * @return boolean|null
55 55
      */
56 56
     public function catchException(Bootstrap $bootstrap, \Exception $exception)
57 57
     {
Please login to merge, or discard this 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.