Completed
Pull Request — develop (#184)
by Tom
04:42
created
src/N98/Magento/Application/ConfigFile.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     }
49 49
 
50 50
     /**
51
-     * @param $path
51
+     * @param string $path
52 52
      */
53 53
     public function loadFile($path)
54 54
     {
@@ -61,6 +61,9 @@  discard block
 block discarded – undo
61 61
         $this->setBuffer($buffer);
62 62
     }
63 63
 
64
+    /**
65
+     * @param string $buffer
66
+     */
64 67
     public function setBuffer($buffer)
65 68
     {
66 69
         $this->buffer = $buffer;
Please login to merge, or discard this patch.
tests/N98/Magento/Command/Database/DumpCommandTest.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -53,17 +53,17 @@
 block discarded – undo
53 53
             # testAddTimeAutogenerated
54 54
             ['/^.*[0-9]{4}-[0-9]{2}-[0-9]{2}_[0-9]{6}\.sql$/', []],
55 55
             # testAddTimePrefixAutogenerated
56
-            ['/^[0-9]{4}-[0-9]{2}-[0-9]{2}_[0-9]{6}.*\.sql$/', ['--add-time' => 'prefix',]],
56
+            ['/^[0-9]{4}-[0-9]{2}-[0-9]{2}_[0-9]{6}.*\.sql$/', ['--add-time' => 'prefix', ]],
57 57
             # testAddTimeFilenameSpecified
58
-            [ '/^.*[0-9]{4}-[0-9]{2}-[0-9]{2}_[0-9]{6}\.sql.gz$/', ['--compression' => 'gzip',]],
58
+            ['/^.*[0-9]{4}-[0-9]{2}-[0-9]{2}_[0-9]{6}\.sql.gz$/', ['--compression' => 'gzip', ]],
59 59
             # testAddTimeFilenameSpecified
60
-            ['/^foo_[0-9]{4}-[0-9]{2}-[0-9]{2}_[0-9]{6}\.sql$/', ['filename' => 'foo.sql',]],
60
+            ['/^foo_[0-9]{4}-[0-9]{2}-[0-9]{2}_[0-9]{6}\.sql$/', ['filename' => 'foo.sql', ]],
61 61
             # testAddTimePrefixFilenameSpecified
62
-            [ '/^[0-9]{4}-[0-9]{2}-[0-9]{2}_[0-9]{6}_foo\.sql$/', ['filename' => 'foo.sql', '--add-time' => 'prefix',]],
62
+            ['/^[0-9]{4}-[0-9]{2}-[0-9]{2}_[0-9]{6}_foo\.sql$/', ['filename' => 'foo.sql', '--add-time' => 'prefix', ]],
63 63
             # testAddTimeOffFilenameSpecified
64
-            ['/^foo.sql$/', ['filename' => 'foo.sql', '--add-time' => false,]],
64
+            ['/^foo.sql$/', ['filename' => 'foo.sql', '--add-time' => false, ]],
65 65
             # testAddTimeFilenameSpecifiedRelative
66
-            ['/^..\/foo_[0-9]{4}-[0-9]{2}-[0-9]{2}_[0-9]{6}\.sql$/', ['filename' => '../foo.sql',]],
66
+            ['/^..\/foo_[0-9]{4}-[0-9]{2}-[0-9]{2}_[0-9]{6}\.sql$/', ['filename' => '../foo.sql', ]],
67 67
         ];
68 68
     }
69 69
 
Please login to merge, or discard this patch.
src/N98/Magento/Application/Config.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     public function __construct(array $initConfig = array(), $isPharMode = false, OutputInterface $output = null)
66 66
     {
67 67
         $this->initConfig = $initConfig;
68
-        $this->isPharMode = (bool)$isPharMode;
68
+        $this->isPharMode = (bool) $isPharMode;
69 69
         $this->output = $output ?: new NullOutput();
70 70
     }
71 71
 
@@ -264,7 +264,7 @@  discard block
 block discarded – undo
264 264
      */
265 265
     private function getArray($key, $default = array())
266 266
     {
267
-        $result = $this->traverse((array)$key);
267
+        $result = $this->traverse((array) $key);
268 268
         if (null === $result) {
269 269
             return $default;
270 270
         }
Please login to merge, or discard this patch.
src/N98/MagerunBootstrap.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * this file is part of magerun
4
- *
5
- * @author Tom Klingenberg <https://github.com/ktomk>
6
- */
3
+     * this file is part of magerun
4
+     *
5
+     * @author Tom Klingenberg <https://github.com/ktomk>
6
+     */
7 7
 namespace N98;
8 8
 
9 9
 use Composer\Autoload\ClassLoader;
Please login to merge, or discard this patch.