Completed
Branch develop (14e095)
by Tom
04:59
created
src/N98/Magento/Command/System/Setup/AbstractSetupCommand.php 2 patches
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -4,11 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use InvalidArgumentException;
6 6
 use N98\Magento\Command\AbstractMagentoCommand;
7
-use Symfony\Component\Console\Input\InputArgument;
8 7
 use Symfony\Component\Console\Input\InputInterface;
9
-use Symfony\Component\Console\Input\InputOption;
10
-use Symfony\Component\Console\Output\OutputInterface;
11
-use N98\Util\Console\Helper\Table\Renderer\RendererFactory;
12 8
 
13 9
 /**
14 10
  * Class AbstractSetupCommand
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
         $resources      = \Mage::getConfig()->getNode('global/resources')->children();
27 27
 
28 28
         foreach ($resources as $resName => $resource) {
29
-            $modName = (string) $resource->setup->module;
29
+            $modName = (string)$resource->setup->module;
30 30
 
31 31
             if ($modName == $moduleName) {
32 32
                 $moduleSetups[$resName] = $resource;
Please login to merge, or discard this patch.
src/N98/Util/Console/Helper/Table/Renderer/RendererInterface.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 headers are expected to be the keys of the first row.
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/View/PhpView.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
 
17 17
     /**
18 18
      * @param string $template
19
-     * @return Php
19
+     * @return PhpView
20 20
      */
21 21
     public function setTemplate($template)
22 22
     {
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      * @param string $key
30 30
      * @param mixed $value
31 31
      *
32
-     * @return Php
32
+     * @return PhpView
33 33
      */
34 34
     public function assign($key, $value)
35 35
     {
Please login to merge, or discard this patch.
src/N98/View/View.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -4,6 +4,13 @@
 block discarded – undo
4 4
 
5 5
 interface View
6 6
 {
7
+    /**
8
+     * @return PhpView
9
+     */
7 10
     public function assign($key, $value);
11
+
12
+    /**
13
+     * @return string
14
+     */
8 15
     public function render();
9 16
 }
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 headers are expected to be the keys of the first row.
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 headers are expected to be the keys of the first row.
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/System/Check/SimpleCheck.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 headers are expected to be the keys of the first row.
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/MagerunBootstrap.php 2 patches
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
 
8 8
 namespace N98\Util;
9 9
 
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     }
49 49
 
50 50
     /**
51
-     * @param $file
51
+     * @param string $file
52 52
      * @return mixed
53 53
      */
54 54
     public static function includeIfExists($file)
Please login to merge, or discard this patch.
src/N98/Util/Console/Helper/DatabaseHelper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
         if (null === $type) {
171 171
             $type = "@@";
172 172
         } else {
173
-            $type = (string) $type;
173
+            $type = (string)$type;
174 174
         }
175 175
 
176 176
         if (!in_array($type, array("@@", "@"), true)) {
@@ -258,7 +258,7 @@  discard block
 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
             }
@@ -302,7 +302,7 @@  discard block
 block discarded – undo
302 302
      */
303 303
     public function getTables($withoutPrefix = null)
304 304
     {
305
-        $withoutPrefix = (bool) $withoutPrefix;
305
+        $withoutPrefix = (bool)$withoutPrefix;
306 306
 
307 307
         $db     = $this->getConnection();
308 308
         $prefix = $this->dbSettings['prefix'];
Please login to merge, or discard this patch.