Passed
Push — master ( e3dd83...1d0275 )
by Goffy
03:05
created
language/german/main.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
  * @author         Goffy - XOOPS Development Team - Email:<[email protected]> - Website:<https://wedega.com>
21 21
  */
22 22
 
23
-include_once __DIR__ . '/admin.php';
23
+include_once __DIR__.'/admin.php';
24 24
 
25 25
 // ---------------- Main ----------------
26 26
 \define('_MA_WGGITHUB_INDEX', 'Übersicht');
Please login to merge, or discard this patch.
language/german/admin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@
 block discarded – undo
20 20
  * @author         Goffy - XOOPS Development Team - Email:<[email protected]> - Website:<https://wedega.com>
21 21
  */
22 22
 
23
-include_once __DIR__ . '/common.php';
24
-include_once __DIR__ . '/main.php';
23
+include_once __DIR__.'/common.php';
24
+include_once __DIR__.'/main.php';
25 25
 
26 26
 // ---------------- Admin Index ----------------
27 27
 \define('_AM_WGGITHUB_STATISTICS', 'Statistiken');
Please login to merge, or discard this patch.
language/english/admin.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@
 block discarded – undo
20 20
  * @author         Goffy - XOOPS Development Team - Email:<[email protected]> - Website:<https://wedega.com>
21 21
  */
22 22
 
23
-include_once __DIR__ . '/common.php';
24
-include_once __DIR__ . '/main.php';
23
+include_once __DIR__.'/common.php';
24
+include_once __DIR__.'/main.php';
25 25
 
26 26
 // ---------------- Admin Index ----------------
27 27
 \define('_AM_WGGITHUB_STATISTICS', 'Statistics');
Please login to merge, or discard this patch.
class/Directories.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -180,9 +180,9 @@  discard block
 block discarded – undo
180 180
                 break;
181 181
         }
182 182
         $ret['content_shorttext'] = Utility::truncateHtml($content_text);
183
-        $ret['autoupdate']        = (int)$this->getVar('dir_autoupdate') > 0 ? _YES : _NO;
184
-        $ret['online']            = (int)$this->getVar('dir_online') > 0 ? _YES : _NO;
185
-        $filterRelease            = (int)$this->getVar('dir_filterrelease');
183
+        $ret['autoupdate']        = (int) $this->getVar('dir_autoupdate') > 0 ? _YES : _NO;
184
+        $ret['online']            = (int) $this->getVar('dir_online') > 0 ? _YES : _NO;
185
+        $filterRelease            = (int) $this->getVar('dir_filterrelease');
186 186
         $ret['filterrelease']     = $filterRelease;
187 187
         switch ($filterRelease) {
188 188
             case Constants::FILTER_TYPE_NONE:
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
                 break;
198 198
         }
199 199
         $ret['filterrelease_text'] = $filterReleaseText;
200
-        $ret['weight']             = (int)$this->getVar('dir_weight');
200
+        $ret['weight']             = (int) $this->getVar('dir_weight');
201 201
         $ret['datecreated']        = \formatTimestamp($this->getVar('dir_datecreated'), 's');
202 202
         $ret['submitter']          = \XoopsUser::getUnameFromId($this->getVar('dir_submitter'));
203 203
         return $ret;
Please login to merge, or discard this patch.
class/Constants.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     public const DIRECTORY_TYPE_USER = 1;
41 41
     public const DIRECTORY_TYPE_ORG  = 2;
42 42
 
43
-    public const DIRECTORY_CONTENT_ALL  = 0;
43
+    public const DIRECTORY_CONTENT_ALL = 0;
44 44
     public const DIRECTORY_CONTENT_OWN = 1;
45 45
 
46 46
     // Constants for status
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     public const PERM_README_UPDATE = 3;
58 58
 
59 59
     // Constants for log type
60
-    public const LOG_TYPE_NONE  = 0;
60
+    public const LOG_TYPE_NONE = 0;
61 61
     public const LOG_TYPE_UPDATE_START = 1;
62 62
     public const LOG_TYPE_UPDATE_END   = 2;
63 63
     public const LOG_TYPE_REQUEST      = 3;
Please login to merge, or discard this patch.