Completed
Branch develop (14e095)
by Tom
04:59
created
src/N98/Magento/Command/Database/Compressor/Compressor.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
 
8 8
 namespace N98\Util;
9 9
 
Please login to merge, or discard this patch.
src/N98/Magento/Command/System/Check/Settings/CookieDomainCheckAbstract.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
 
8 8
 namespace N98\Util;
9 9
 
Please login to merge, or discard this patch.
src/N98/Magento/Command/System/Check/Settings/BaseUrlCheckAbstract.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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
         $errorMessage = 'Wrong hostname configured. <info>Hostname must contain a dot</info>';
34 34
 
35 35
         $host    = parse_url($baseUrl, PHP_URL_HOST);
36
-        $isValid = (bool) strstr($host, '.');
36
+        $isValid = (bool)strstr($host, '.');
37 37
         $result->setStatus($isValid);
38 38
         if ($isValid) {
39 39
             $result->setMessage(
Please login to merge, or discard this patch.
src/N98/Magento/Command/System/Check/Settings/CheckAbstract.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
 
8 8
 namespace N98\Util;
9 9
 
Please login to merge, or discard this patch.
src/N98/Magento/Command/Cache/Dir/FlushCommand.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
 
8 8
 namespace N98\Util;
9 9
 
Please login to merge, or discard this patch.
src/N98/Magento/DbSettings.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.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -97,8 +97,8 @@  discard block
 block discarded – undo
97 97
             'password'    => null,
98 98
         );
99 99
 
100
-        $config           = ((array) $resources->default_setup->connection) + $config;
101
-        $config['prefix'] = (string) $resources->db->table_prefix;
100
+        $config           = ((array)$resources->default_setup->connection) + $config;
101
+        $config['prefix'] = (string)$resources->db->table_prefix;
102 102
 
103 103
         // known parameters: host, port, unix_socket, dbname, username, password, options, charset, persistent,
104 104
         //                   driver_options
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
 
109 109
         /* @see Varien_Db_Adapter_Pdo_Mysql::_connect */
110 110
         if (strpos($config['host'], '/') !== false) {
111
-            $config['unix_socket'] = (string) $config['host'];
111
+            $config['unix_socket'] = (string)$config['host'];
112 112
             $config['host'] = null;
113 113
             $config['port'] = null;
114 114
         } elseif (strpos($config['host'], ':') !== false) {
Please login to merge, or discard this patch.
src/N98/Util/Filesystem.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
 
8 8
 namespace N98\Util;
9 9
 
Please login to merge, or discard this patch.
Magento/Command/Developer/Setup/Script/Attribute/EntityType/EntityType.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -6,9 +6,18 @@
 block discarded – undo
6 6
 {
7 7
     /**
8 8
      * @param \Mage_Eav_Model_Entity_Attribute $attribute
9
+     * @return void
9 10
      */
10 11
     public function __construct(\Mage_Eav_Model_Entity_Attribute $attribute);
12
+
13
+    /**
14
+     * @return void
15
+     */
11 16
     public function setReadConnection($connection);
12 17
     public function getWarnings();
18
+
19
+    /**
20
+     * @return string
21
+     */
13 22
     public function generateCode();
14 23
 }
Please login to merge, or discard this patch.
src/N98/Magento/Command/Indexer/AbstractIndexerCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      * Returns a readable runtime
41 41
      *
42 42
      * @param $indexer
43
-     * @return mixed
43
+     * @return string
44 44
      */
45 45
     protected function getRuntime($indexer)
46 46
     {
Please login to merge, or discard this patch.